From 74892d028cf65c3194c0f823bb01ff3396952eb2 Mon Sep 17 00:00:00 2001 From: Tonton Th Date: Wed, 22 Oct 2025 01:56:13 +0200 Subject: [PATCH] add random texture --- gadgets.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gadgets.inc b/gadgets.inc index fbac367..ba3b4ff 100644 --- a/gadgets.inc +++ b/gadgets.inc @@ -15,7 +15,12 @@ merge { cylinder { 0, y/2, 0.07 } cylinder { 0, y/6, 0.33 } - texture { T_WIP_alert } + #local R = rand(Rng1); + #if ( R < 0.52) + texture { T_WIP_alert } + #else + texture { WIP_color } + #end } #end // macro // ------------------------------------------------------ ##