Skip to content

Commit 27c04a7

Browse files
committed
removed orientation for creatures
1 parent f0b50c4 commit 27c04a7

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Scenes/Instances.gd

+1-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ func place_new_thing(newThingType, newSubtype, newPosition, newOwnership): # Pla
283283
id.creatureName = oPlacingSettings.creatureName
284284
id.creatureGold = oPlacingSettings.creatureGold
285285
id.creatureInitialHealth = oPlacingSettings.creatureInitialHealth
286-
id.orientation = oPlacingSettings.orientation
286+
#id.orientation = oPlacingSettings.orientation
287287
id.index = get_free_index_number()
288288
Things.TYPE.EFFECTGEN:
289289
id.effectRange = oPlacingSettings.effectRange

Scenes/PlacingSettings.gd

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func update_placing_tab():
8181
availableFields.append(FIELDS.INITIAL_HEALTH)
8282
availableFields.append(FIELDS.CREATURE_GOLD)
8383
availableFields.append(FIELDS.CREATURE_NAME)
84-
availableFields.append(FIELDS.ORIENTATION)
84+
#availableFields.append(FIELDS.ORIENTATION)
8585
Things.TYPE.EFFECTGEN:
8686
availableFields = [FIELDS.ID, FIELDS.TYPE, FIELDS.EFFECT_RANGE, FIELDS.ORIENTATION]
8787
if oCurrentFormat.selected != 0: # Classic format

Scenes/ReadData.gd

+1-1
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ func read_tngfx(buffer):
468468
id.creatureName = c.get_value(section, "CreatureName", "")
469469
id.creatureGold = c.get_value(section, "CreatureGold", -1)
470470
id.creatureInitialHealth = c.get_value(section, "CreatureInitialHealth", -1)
471-
id.orientation = c.get_value(section, "Orientation", -1)
471+
#id.orientation = c.get_value(section, "Orientation", -1)
472472
Things.TYPE.EFFECTGEN:
473473
id.effectRange = c.get_value(section, "EffectRange")[0] + (c.get_value(section, "EffectRange")[1] / 256.0)
474474
id.sensitiveTile = c.get_value(section, "ParentTile")

Scenes/ThingInstance.gd

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ func load_default_kfx_values():
101101
creatureInitialHealth = 100
102102
if creatureGold == null or creatureGold == -1:
103103
creatureGold = 0
104-
if orientation == null or orientation == -1:
105-
orientation = 0
104+
# if orientation == null or orientation == -1:
105+
# orientation = 0
106106
Things.TYPE.EFFECTGEN:
107107
if orientation == null or orientation == -1:
108108
orientation = 0

0 commit comments

Comments
 (0)