jukkae / rascal

A roguelike.
Other
1 stars 0 forks source link

Action results & automatic alternatives & scheduling #119

Open jukkae opened 6 years ago

jukkae commented 6 years ago

Currently, DropItemAction checks if the item is worn, and if it is, it unwields it. This happens in the wrong order, though, so start from there.

jukkae commented 6 years ago

Idea: For DropItemAction:

  1. If the item is worn, then
  2. Create action chain: UnwieldItemAction + DropItemAction
  3. Add the actions to queue
  4. Return false.