Node book›Items and gear
Weapon
Puts a catalog weapon into somebody's hand, or takes one away for good.
One node on the bench: its dropdown switches between the choices below, keeping the wires that still fit. In a file each choice has its own id.
| Choice | Id | What it does |
|---|---|---|
| Give into the hand | call/Game.GiveWeapon | Puts a catalog weapon in somebody's hand, in a free slot of theirs, the one in hand put away. |
| Take away | call/Game.TakeWeapon | Takes a weapon off somebody for good |
Give into the hand
Puts a catalog weapon in somebody's hand, in a free slot of theirs, the one in hand put away. If it won't go with what the other hand holds, the other hand is emptied. Shown online too.
- Does
- An action: done when the run reaches it
- Runs
- Where the game is decided: single player, the host, the server
- In a file
call/Game.GiveWeapon
- inwhoa character
The person.
- inweapona game object
The weapon, "thing/Falchion".
Starts as
thing/Falchion - outgivenyes or no
Yes when it went in.
Take away
Takes a weapon off somebody for good: it is gone, not dropped, online too. The off hand includes a shield on the arm.
- Does
- An action: done when the run reaches it
- Runs
- Where the game is decided: single player, the host, the server
- In a file
call/Game.TakeWeapon
- inwhoa character
The person.
- inwhichone of in hand, off hand, every weapon
In hand, off hand, or every weapon.
Starts as
in hand - outtakenyes or no
Yes when something was taken.
Modding