wip
This commit is contained in:
+15
-2
@@ -167,6 +167,18 @@ fn tick(dt) {
|
||||
}
|
||||
"""
|
||||
|
||||
shifter = """
|
||||
fn tick(dt) {
|
||||
let x = Me.x;
|
||||
let y = Me.y;
|
||||
|
||||
if Queue.length() == 0 {
|
||||
shift([[x-1, y], [x, y-1], [x+1, y], [x, y+1]]);
|
||||
delay(0.25);
|
||||
}
|
||||
}
|
||||
"""
|
||||
|
||||
[boards.start.map]
|
||||
name = "Starting Room"
|
||||
width = 60
|
||||
@@ -214,8 +226,8 @@ gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg
|
||||
content = """
|
||||
############################################################
|
||||
# #
|
||||
# #
|
||||
# #
|
||||
# o #
|
||||
# oS #
|
||||
# #
|
||||
# 1 #
|
||||
# ###### B #
|
||||
@@ -252,6 +264,7 @@ content = """
|
||||
"V" = { kind = "object", tile = 1, fg = "#33aa33", bg = "#000000", script_name = "mover" }
|
||||
"M" = { kind = "object", tile = 15, fg = "#ffdd88", bg = "#000000", solid = true, name = "muffin", script_name = "muffin" }
|
||||
"B" = { kind = "object", tile = 240, fg = "#cc9944", bg = "#000000", solid = true, name = "noticeboard", script_name = "noticeboard" }
|
||||
"S" = { kind = "object", tile = 240, fg = "#cc9944", bg = "#000000", solid = true, name = "shifter", script_name = "shifter" }
|
||||
"/" = { kind = "spinner_cw" }
|
||||
"t" = { kind = "gem" }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user