Site Tools


tutorial:esd-add-menu-reward

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
tutorial:esd-add-menu-reward [2026/06/20 23:25] – fixed small mistake jenovavirustutorial:esd-add-menu-reward [2026/06/20 23:27] (current) – and another one jenovavirus
Line 269: Line 269:
         AddTalkListData(99, 15000005, -1)         AddTalkListData(99, 15000005, -1)
         ShowShopMessage(TalkOptionsType.Regular)         ShowShopMessage(TalkOptionsType.Regular)
-        # trade +        # Trade Firebomb for 20x Throwing Knife
         if GetTalkListEntryResult() == 1:         if GetTalkListEntryResult() == 1:
             assert (t320000_x12(lot1=lot1, goods2=goods2, goods3=goods3))             assert (t320000_x12(lot1=lot1, goods2=goods2, goods3=goods3))
-        # +        # Trade 3x Large Titanite Shard for Ember
         elif GetTalkListEntryResult() == 2:         elif GetTalkListEntryResult() == 2:
             assert (t320000_x12(lot1=lot2, goods2=goods2, goods3=goods3))             assert (t320000_x12(lot1=lot2, goods2=goods2, goods3=goods3))
Line 309: Line 309:
         call = t320000_x13(goods2=goods2, goods3=goods3, z1=goods2)         call = t320000_x13(goods2=goods2, goods3=goods3, z1=goods2)
         if call.Get() == 0:         if call.Get() == 0:
-            PlayerEquipmentQuantityChange(ItemType.Goods, goods2, -3)+            PlayerEquipmentQuantityChange(ItemType.Goods, goods2, -1)
             assert t320000_x14(lot1=lot1)             assert t320000_x14(lot1=lot1)
         elif call.Get() == 1:         elif call.Get() == 1:
Line 316: Line 316:
         call = t320000_x13(goods2=goods2, goods3=goods3, z1=goods3)         call = t320000_x13(goods2=goods2, goods3=goods3, z1=goods3)
         if call.Get() == 0:         if call.Get() == 0:
-            PlayerEquipmentQuantityChange(ItemType.Goods, goods3, -1)+            PlayerEquipmentQuantityChange(ItemType.Goods, goods3, -3)
             assert t320000_x14(lot1=lot2)             assert t320000_x14(lot1=lot2)
         elif call.Get() == 1:         elif call.Get() == 1:
tutorial/esd-add-menu-reward.1781994317.txt.gz · Last modified: by jenovavirus