Log inGet started
World

Treasure Trove: Coins, Hearts and Power-Up Pickups Kit

README.md

Pickup

One pickup you can put anywhere: entity.spawnSynced("Coin").component.add("pickupsKit.Pickup", { look = "pixelGem" }), or Pickups.spawn(pos, settings).

  • Look: look picks one of 47 looks in five styles (the old id pixel_gem_coin still works and means pixelGem). Changing it rebuilds the model at once on every peer, also while playing.
  • Effect: by default it does what its look does (coins count, hearts heal, keys unlock). effect, amount, counter, item, letter, powerup and duration override that.
  • Behaviour: radius, magnetRange, respawn/respawnTime, lifetime/blinkTime, mode (shared or perPlayer), bob, spin, hover, scale, visible.

The entity's owner decides who gets it, so two players touching it in the same frame give exactly one winner. The package README has the full table of settings.