DigitalLibrarian / VS2013Projects

DF/CDDA inspired content driven simulator
1 stars 0 forks source link

Banish the *Slot enums #51

Open DigitalLibrarian opened 8 years ago

DigitalLibrarian commented 8 years ago

Weapons and armor have slot requirements, a set of enum values.

Body parts have slots, an enum value.

Combat moves can create body state changes, an enum value.

Redo the engine code to work with an unknown set of slot types and body state changes and banish the enums.

The slots and body state changes will be input as string via content.

They will all be globally namespaced.

DigitalLibrarian commented 8 years ago

Probably have an IGearSlot, or something similar, that works for both weapons and armor. The binding type might be generic so that we can reuse the system for things like magic and cybernetic implants (CDDA).