transporters
This commit is contained in:
+6
-3
@@ -28,7 +28,7 @@ fn init(me) {
|
||||
let new_x = Board.registry.get("dancer_x");
|
||||
let new_y = Board.registry.get("dancer_y");
|
||||
if me.x != new_x || me.y != new_y {
|
||||
teleport(new_x, new_y);
|
||||
teleport(me.id, new_x, new_y);
|
||||
}
|
||||
} else {
|
||||
Board.registry.set("dancer_x", me.x);
|
||||
@@ -231,9 +231,9 @@ content = """
|
||||
# oS #
|
||||
# #
|
||||
# 1 #
|
||||
# ###### B #
|
||||
# )######( B #
|
||||
# # #
|
||||
# +++ # #
|
||||
# +++ # v #
|
||||
# # #
|
||||
# | #
|
||||
# #
|
||||
@@ -268,6 +268,9 @@ content = """
|
||||
"S" = { kind = "object", tile = 240, fg = "#cc9944", bg = "#000000", solid = true, name = "shifter", script_name = "shifter" }
|
||||
"/" = { kind = "spinner_cw" }
|
||||
"t" = { kind = "gem" }
|
||||
"v" = { kind = "transporter_south" }
|
||||
")" = { kind = "transporter_east" }
|
||||
"(" = { kind = "transporter_west" }
|
||||
|
||||
# Layer 2: a purely decorative, non-solid object drawn *above* the solid crate
|
||||
# beneath it — only possible because draw order follows layer order.
|
||||
|
||||
Reference in New Issue
Block a user