swarm-game / swarm

Resource gathering + programming game
Other
841 stars 52 forks source link

World DSL feature to refer to location of base #1889

Open byorgey opened 5 months ago

byorgey commented 5 months ago

The base does not always end up at (0,0) relative to the world DSL expression used, in particular if offset: true is set in the scenario configuration. There ought to be a way within the world DSL to refer to wherever the base ends up.

See original discussion at https://github.com/swarm-game/swarm/issues/242#issuecomment-1690555056

byorgey commented 5 months ago

As discussed in #242, perhaps another way to accomplish this is to add the world-shifting operation as a primitive to the world DSL. Both of these options seem nontrivial.