Fix Stone Heart's item description, comma was treated as separate value. Make item descriptions be read in as full strings instead of as the first index in a OLC Datafile. Minor grammar edits to item descriptions. Add missing Upper Zone to II-V. Release Build 10191.

mac-build
sigonasr2 7 months ago
parent 717a66526c
commit 83afbb2720
  1. 2
      Adventures in Lestoria/Item.cpp
  2. 2
      Adventures in Lestoria/Version.h
  3. 10
      Adventures in Lestoria/assets/Campaigns/2_5.tmx
  4. 4
      Adventures in Lestoria/assets/config/items/ItemDatabase.txt
  5. BIN
      x64/Release/Adventures in Lestoria.exe

@ -154,7 +154,7 @@ void ItemInfo::InitializeItems(){
for(auto&[itemKey,itemValue]:data[key].GetKeys()){ for(auto&[itemKey,itemValue]:data[key].GetKeys()){
std::string keyName=itemKey; std::string keyName=itemKey;
if(keyName=="Description"){ if(keyName=="Description"){
description=data[key][keyName].GetString(); description=data[key][keyName].GetFullString();
}else }else
if(keyName=="ItemCategory"){ if(keyName=="ItemCategory"){
category=data[key][keyName].GetString(); category=data[key][keyName].GetString();

@ -39,7 +39,7 @@ All rights reserved.
#define VERSION_MAJOR 1 #define VERSION_MAJOR 1
#define VERSION_MINOR 2 #define VERSION_MINOR 2
#define VERSION_PATCH 3 #define VERSION_PATCH 3
#define VERSION_BUILD 10190 #define VERSION_BUILD 10191
#define stringify(a) stringify_(a) #define stringify(a) stringify_(a)
#define stringify_(a) #a #define stringify_(a) #a

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<map version="1.10" tiledversion="1.10.2" class="Map" orientation="orthogonal" renderorder="right-down" width="303" height="211" tilewidth="24" tileheight="24" infinite="0" nextlayerid="9" nextobjectid="87"> <map version="1.10" tiledversion="1.10.2" class="Map" orientation="orthogonal" renderorder="right-down" width="303" height="211" tilewidth="24" tileheight="24" infinite="0" nextlayerid="10" nextobjectid="91">
<properties> <properties>
<property name="Backdrop" propertytype="Backdrop" value="mountain_day"/> <property name="Backdrop" propertytype="Backdrop" value="mountain_day"/>
<property name="Background Music" propertytype="BGM" value="foresty1_1"/> <property name="Background Music" propertytype="BGM" value="foresty1_1"/>
@ -1654,11 +1654,17 @@
<object id="82" name="Player Spawn" type="PlayerSpawnLocation" x="5016" y="4440" width="24" height="24"/> <object id="82" name="Player Spawn" type="PlayerSpawnLocation" x="5016" y="4440" width="24" height="24"/>
<object id="83" name="End Zone" type="EndZone" x="216" y="2592" width="114" height="114"> <object id="83" name="End Zone" type="EndZone" x="216" y="2592" width="114" height="114">
<properties> <properties>
<property name="Upper?" type="bool" value="false"/> <property name="Upper?" type="bool" value="true"/>
</properties> </properties>
</object> </object>
<object id="84" name="Bridge" type="LowerBridgeCollision" x="1152" y="1440" width="24" height="120"/> <object id="84" name="Bridge" type="LowerBridgeCollision" x="1152" y="1440" width="24" height="120"/>
<object id="85" name="Bridge" type="LowerBridgeCollision" x="792" y="1440" width="24" height="24"/> <object id="85" name="Bridge" type="LowerBridgeCollision" x="792" y="1440" width="24" height="24"/>
<object id="86" name="Bridge" type="LowerBridgeCollision" x="816" y="1464" width="24" height="72"/> <object id="86" name="Bridge" type="LowerBridgeCollision" x="816" y="1464" width="24" height="72"/>
</objectgroup> </objectgroup>
<objectgroup id="9" name="Level Zones" locked="1">
<object id="87" name="Upper Level" type="UpperZone" x="1008" y="1080" width="4512" height="672"/>
<object id="88" name="Upper Level" type="UpperZone" x="1188" y="522" width="3100" height="1734"/>
<object id="89" name="Upper Level" type="UpperZone" x="138" y="492" width="930" height="2442"/>
<object id="90" name="Lower Zone" type="LowerZone" x="5112" y="1752" width="432" height="336"/>
</objectgroup>
</map> </map>

@ -299,7 +299,7 @@ ItemDatabase
} }
Stone Heart Stone Heart
{ {
Description = A stone, shaped in the form of an heart. Description = "A stone, shaped in the form of a heart."
ItemCategory = Materials ItemCategory = Materials
SellValue = 28 SellValue = 28
} }
@ -311,7 +311,7 @@ ItemDatabase
} }
Stone Stone
{ {
Description = A slightly above average sized Stone. The Stone has some greenish Color. Thats why you picked it up. Description = A slightly above average-sized Stone. The Stone has some greenish color. That's why you picked it up.
ItemCategory = Materials ItemCategory = Materials
SellValue = 6 SellValue = 6
} }

Loading…
Cancel
Save