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:
lookpicks one of 47 looks in five styles (the old idpixel_gem_coinstill works and meanspixelGem). 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,powerupanddurationoverride 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.