Some preliminary changes before the damage refactor PR. The changes here do absolutely nothing gamewise.

This just adds some vars that the refactor will use. Putting this in a separate PR prevent the damage refactor PR from becoming too big (number of files changed) and hard to read and review.

Introduces the resistance_flags bitflag that replaces unacidable and burn_state.
Moves the armor var from item to /obj level and gives specific armor values to many objects, the armor list also gets two new armor types: fire and acid, which will be used in the refactor. the new fire and acid armor values are given to plenty of items.
This commit is contained in:
phil235
2016-09-27 22:33:08 +02:00
parent b84064412b
commit 2d2975f783
199 changed files with 562 additions and 547 deletions

View File

@@ -172,7 +172,7 @@
density = 1
opacity = 1 // changed in New()
anchored = 1
unacidable = 1
resistance_flags = FIRE_PROOF | ACID_PROOF
name = "foamed metal"
desc = "A lightweight foamed metal wall."
gender = PLURAL