diff --git a/Scenes/Instances.gd b/Scenes/Instances.gd index ae9fdbfc..f74f0627 100644 --- a/Scenes/Instances.gd +++ b/Scenes/Instances.gd @@ -283,7 +283,7 @@ func place_new_thing(newThingType, newSubtype, newPosition, newOwnership): # Pla id.creatureName = oPlacingSettings.creatureName id.creatureGold = oPlacingSettings.creatureGold id.creatureInitialHealth = oPlacingSettings.creatureInitialHealth - id.orientation = oPlacingSettings.orientation + #id.orientation = oPlacingSettings.orientation id.index = get_free_index_number() Things.TYPE.EFFECTGEN: id.effectRange = oPlacingSettings.effectRange diff --git a/Scenes/PlacingSettings.gd b/Scenes/PlacingSettings.gd index 48dfb0b8..decce36b 100644 --- a/Scenes/PlacingSettings.gd +++ b/Scenes/PlacingSettings.gd @@ -81,7 +81,7 @@ func update_placing_tab(): availableFields.append(FIELDS.INITIAL_HEALTH) availableFields.append(FIELDS.CREATURE_GOLD) availableFields.append(FIELDS.CREATURE_NAME) - availableFields.append(FIELDS.ORIENTATION) + #availableFields.append(FIELDS.ORIENTATION) Things.TYPE.EFFECTGEN: availableFields = [FIELDS.ID, FIELDS.TYPE, FIELDS.EFFECT_RANGE, FIELDS.ORIENTATION] if oCurrentFormat.selected != 0: # Classic format diff --git a/Scenes/ReadData.gd b/Scenes/ReadData.gd index 094aa9b0..ab6a81d7 100644 --- a/Scenes/ReadData.gd +++ b/Scenes/ReadData.gd @@ -468,7 +468,7 @@ func read_tngfx(buffer): id.creatureName = c.get_value(section, "CreatureName", "") id.creatureGold = c.get_value(section, "CreatureGold", -1) id.creatureInitialHealth = c.get_value(section, "CreatureInitialHealth", -1) - id.orientation = c.get_value(section, "Orientation", -1) + #id.orientation = c.get_value(section, "Orientation", -1) Things.TYPE.EFFECTGEN: id.effectRange = c.get_value(section, "EffectRange")[0] + (c.get_value(section, "EffectRange")[1] / 256.0) id.sensitiveTile = c.get_value(section, "ParentTile") diff --git a/Scenes/ThingInstance.gd b/Scenes/ThingInstance.gd index 8b53b2a4..a8a1607b 100644 --- a/Scenes/ThingInstance.gd +++ b/Scenes/ThingInstance.gd @@ -101,8 +101,8 @@ func load_default_kfx_values(): creatureInitialHealth = 100 if creatureGold == null or creatureGold == -1: creatureGold = 0 - if orientation == null or orientation == -1: - orientation = 0 +# if orientation == null or orientation == -1: +# orientation = 0 Things.TYPE.EFFECTGEN: if orientation == null or orientation == -1: orientation = 0