Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
  • Leaderboards
    • All Time
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
    • Weekly
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
  • ❤ Donate
FLARE [ARCHIVED]

Event Currency

makrohn
Thursday, July 12, 2012 - 15:58
makrohn's picture

I noticed in LootManager.cpp that I can set [event] loot=currency, but I can't seem to write an event that makes treasure chests spawn currency propwerly.  Sadly, I also can't find any examples in the FLARE mods/*/maps/*.txt files, either.  

For instance, the following just seems to spawn an empty chest in repeated runs (cavern.txt of polymorphable):

[event]

location=94,62,1,1

type=run_once

hotspot=-16,-16,32,32

tooltip=Chest

loot=currency,94,63

mapmod=object,94,62,206

  • Log in or register to post comments
makrohn
joined 13 years 1 month ago
Thursday, July 12, 2012 - 15:58
makrohn's picture

that should say "loot=currency,94,63,1" but I tried it both ways.

  • Log in or register to post comments
pennomi
joined 14 years 7 months ago
Thursday, July 12, 2012 - 21:42
pennomi's picture

This was a temporary bug with the upstream. It should be fixed now. (In polymorphable)

  • Log in or register to post comments
makrohn
joined 13 years 1 month ago
Friday, July 13, 2012 - 04:20
makrohn's picture

Still can't get it to spawn currency instead.  Not sure why.

  • Log in or register to post comments