Log inGet started
World

Trophy Room: Trophies and Podiums Kit

Branchmain
Branchesmain
Commit3a0b4820a7

README.md

Trophy

A trophy built from its fields on every peer: put it on any entity, set look (classic, star, crystal, pixel or modern) and tier (1 gold, 2 silver, 3 bronze), and the parts appear as local children. While the game plays it turns on its base when spin is on, at spinSpeed degrees per second. Changing look or tier rebuilds it; on a synced entity that restyles it for every player. It needs no other components. Trophy.spawn in the api module adds it for you.

entity.spawn("cup").component.add("Trophy", { tier = 1, look = "classic" })
entity.find("cup").component.get("Trophy"):setTier("silver")