View Issue Details

IDProjectCategoryView StatusLast Update
0000474Gameplay + OpenGL[All Projects] Featurepublic2017-03-28 14:20
ReporterMajor Cooke 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionwon't fix 
Summary0000474: A_SetArmor
DescriptionA_SetArmor(class<Armor> type, int amount = -1)

Replaces any/all armor the player is currently wearing with the specific type and gives the amount. If type is null or amount is 0, removes the armor. Leaving amount to -1 means to use the defined armor's default SaveAmount.

Negative values means 'give this SaveAmount * amount'. I.e. if an armor shard gives 2 armor points and amount is -2, it'd give 4.

I'll be honest, with how confusing armor can get due to so many subclasses, it makes my head spin at what classes we're supposed to give players. This will allow armor giving to be much... MUCH simpler.
TagsNo tags attached.

Relationships

Activities

Graf Zahl

Graf Zahl

2017-03-28 14:20

administrator   ~0001131

There is only BasicArmor. If you deplete that and then give some armor pickup you are done.

Issue History

Date Modified Username Field Change
2017-03-24 12:02 Major Cooke New Issue
2017-03-28 14:20 Graf Zahl Status new => closed
2017-03-28 14:20 Graf Zahl Resolution open => won't fix
2017-03-28 14:20 Graf Zahl Note Added: 0001131