Advertisement
283375

WelcomeMatBuyNodes

Feb 29th, 2024
962
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.26 KB | Source Code | 0 0
  1. # Some unrelated fields are omitted
  2.  
  3. # WelcomeMatBuy.asset
  4. %YAML 1.1
  5. %TAG !u! tag:unity3d.com,2011:
  6. --- !u!114 &11400000
  7. MonoBehaviour:
  8.   m_Enabled: 1
  9.   m_Name: WelcomeMatBuy
  10.   displayText: "You have requested to order the welcome mat, which will make everyone feel at home.\nTotal cost of item: [totalCost].\n\nPlease CONFIRM or DENY.\n\n"
  11.   shipUnlockableID: 21
  12.   buyUnlockable: 0
  13.   itemCost: 40  # <-- Notice here's 40...
  14.   creatureFileID: -1
  15.   creatureName: Welcome mat
  16.  
  17. # WelcomeMatBuyConfirm.asset
  18. %YAML 1.1
  19. %TAG !u! tag:unity3d.com,2011:
  20. --- !u!114 &11400000
  21. MonoBehaviour:
  22.   m_Enabled: 1
  23.   m_Name: WelcomeMatBuyConfirm
  24.   m_EditorClassIdentifier:
  25.   displayText: "Ordered the welcome mat! Your new balance is [playerCredits].\nPress [B] to rearrange objects in your ship and [V] to confirm.\n"
  26.   shipUnlockableID: 21
  27.   buyUnlockable: 1
  28.   itemCost: 50  # <-- But here's 50.
  29.   creatureFileID: -1
  30.   creatureName:
  31. # As you can see, the actual cost differs between the information file and the confirmation file.
  32. # As how the game works, the cost was *displayed* according to [WelcomeMatBuy.asset], but the actual cost is defined and deducted according to [WelcomeMatBuyConfirm.asset]. So the actual cost for buying a Welcome Mat is 50 instead of 40.
  33.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement