Commit graph

5 commits

Author SHA1 Message Date
20df6b2a8f
readded confetti 2025-07-20 00:20:59 -05:00
8e69688bff
✅ New Features Added
Sequential Player Picking Logic

Players now pick in order starting with the peril player.

Number of picks is determined by the peril player’s current lives.

Picks are tracked globally to prevent duplicates.

Dynamic Dice Type Adjustment

Dice size (diceType) now adjusts based on player count:

1–2 players = 6

3–4 players = 12

5–6 players = 18, etc.

Prompt for Dice Roll

After all players have made their picks, the peril player is prompted to roll via a dialog.

Dice Roll Resolution Logic

If another player matches the roll, they become the new peril player.

If no one matches or the peril player matches, the peril player loses a life.

🔄 Fixes & Improvements
Fixed syntax and scoping errors (resultStr, newPeril, and timer logic).

Prevented duplicate rezzing of StatFloat objects.

Restored and ensured 🔢 Picks: are shown on the floating stat displays.

Updated floaters dynamically after each pick using llSetTimerEvent.
2025-07-20 00:04:48 -05:00
af80271691 first commit 2025-07-18 23:30:23 -05:00
20a458ae8c first commit 2025-07-18 23:29:15 -05:00
2083469a13 Add Peril Dice Controller and StatFloat functionality with player management and UI updates 2025-07-18 23:28:18 -05:00