Terminator — 19 of 33

Matt Weiner

Release 0

Section 7 - Picking Up

Portability relates various things to various robots. The verb to be portable by means the portability relation. The verb to be able to haul means the reversed portability relation.

When play begins (this is the set portability rule):

repeat with cosmo running through astronauts:

now cosmo is portable by every hauler;

repeat with beaker running through beacons:

now beaker is portable by every hauler;

now beaker is portable by every scout.

Check a robot taking when noun is not portable by the person asked (this is the robots can only pick up certain things rule): stop the action.

Unsuccessful attempt by a robot taking when the reason the action failed is the robots can only pick up certain things rule: say "[The person asked] would not be able to pick up [the noun][if the person asked is a robot and the noun is an astronaut]; only a hauler can do that[end if]."

Check a robot taking when the person asked is not right next to the noun (this is the robots can only pick up nearby things rule): stop the action.

Unsuccessful attempt by a robot taking when the reason the action failed is the robots can only pick up nearby things rule: say "[The person asked] needs to move to [the noun] before it can pick it up."

Does the player mean taking a thing that is right under the person asked: it is very likely.

[There was going to be something here preventing haulers from dropping astronauts, but I guess there can be a legitimate reason for it -- Gamma is in the center of the map and needs to go northeast to get another astronaut, Zeta is in the south of the map, Gamma can leave its astronaut for Zeta to come get.]