KGentle wrote:
I'm having a problem with your code robert here is the error:
Problem. In the sentence 'The RWeapon of a person is usually nothing' , it looks as if you intend 'The RWeapon of a person is usually nothing' to be asserting something, but that tries to set the value of the 'RWeapon' property to an object - which must be wrong because this property has to be a thing.
I think that's because "nothing" is technically an object, not a thing.
Try
Code:
There is room.
A person has a thing called RWeapon. A person has a thing called LWeapon.
When play begins:
repeat with guy running through people:
now the RWeapon of guy is guy;
now the LWeapon of guy is guy.
Bob is a person, here.
test me with "showme bob".
That way each person acts as the sentinel/nothing held value for each of their hands, so you can make definitions like
Code:
Definition: a person is empty-left-handed if the RWeapon of it is it.
Definition: a person is empty-right-handed if the LWeapon of it is it.