dictionary
entities that actually contain definitions
#2151
Labels
Z-Feature
A new feature to be added to the game.
I am not exactly sure what this should look like, but I'm creating this issue as a place to discuss + think about it.
Currently you need a
dictionary
device equipped in order to create definitions withlet
ordef
. However,dictionary
entities otherwise don't do much. In particular:You do not need a
dictionary
equipped in order to use definitions which are in scope. This has always felt a bit strange to me. In particular, suppose robot A has adictionary
equipped and makes a bunch ofdef
s, thenbuild
s robot B. Robot B will inherit the environment from its parent robot A, and can use any of the definitions created by robot A, even without adictionary
equipped (though it cannot make new definitions of its own). It might be worth considering requiring adictionary
device to be installed on robot B in order for it to be able to use definitions; intuitively, it would be as if robot A has to literally make a copy of its own dictionary and hand it off to the newly built robot, or else robot B will not know how to carry out its instructions.What if
dictionary
entities could literally contain an environment of definitions? So if you found adictionary
lying around on the ground and picked it up, you would learn new definitions. Definitely some issues to be worked out around scoping + shadowing (e.g. what if you had definedfoo
but then picked up a dictionary which, unbeknownst to you, also defined something namedfoo
that shadowed your ownfoo
?), but this could be a fun mechanic.The text was updated successfully, but these errors were encountered: