Opened 15 years ago

Closed 14 years ago

#144 closed task (fixed)

Un-harcode doors

Reported by: malek Owned by: epyon
Priority: major Milestone: 0.9.9.3
Component: engine Version: 0.9.9
Keywords: Cc:
Blocked By: Blocking:

Description

Currently the doors are hardcoded which means no new types of doors can be created. For modding it would be good to move these to to Lua - perhaps something like OPENABLE flag with the tile defaulting to floor when opened and OnOpen? event which would allow defining custom tile to switch to?

Change History (2)

comment:1 Changed 14 years ago by epyon

  • Milestone changed from 0.9.9.2 to 0.9.9.3

comment:2 Changed 14 years ago by epyon

  • Resolution set to fixed
  • Status changed from new to closed

(In [1293]) * new flags CF_OPENABLE, CF_CLOSABLE, CF_NUKABLE

  • new cell hook OnAct?
  • doors are no longer hardcoded (closes #144)
Note: See TracTickets for help on using tickets.