Changes

→‎Custom machines: update: LitWhileWorking replaced by more flexible LightWhileWorking field
Line 798: Line 798:  
| ''(Optional)'' The percentage chance to apply <samp>WorkingEffects</samp> each time the day starts or the in-game clock changes, as a value between 0 (never) and 1 (always). Default 0.33.
 
| ''(Optional)'' The percentage chance to apply <samp>WorkingEffects</samp> each time the day starts or the in-game clock changes, as a value between 0 (never) and 1 (always). Default 0.33.
 
|-
 
|-
| <samp>LitWhileWorking</samp>
+
| <samp>LightWhileWorking</samp>
| ''(Optional)'' Whether the machine produces light while it's processing an item. Default false.
+
| ''(Optional)'' The light emitted by the machine while it's processing an item. Default none.
 +
 
 +
This consists of a list of models with these fields:
 +
{| class="wikitable"
 +
|-
 +
! field
 +
! effect
 +
|-
 +
| <samp>Radius</samp>
 +
| ''(Optional)'' The size of the area covered by the light effect, as a multiplier of the default radius (like <samp>1.5</samp> for an area 50% wider than the default). Default 1.
 +
|-
 +
| <samp>Color</samp>
 +
| ''(Optional)'' A tint color to apply to the light. This can be any of the [https://docs.microsoft.com/en-us/previous-versions/windows/xna/ff433752(v=xnagamestudio.42) <samp>Color</samp> field names], like <samp>ForestGreen</samp>. Default <samp>White</samp> (no tint).
 +
|}
 
|-
 
|-
 
| <samp>WobbleWhileWorking</samp>
 
| <samp>WobbleWhileWorking</samp>
translators
8,445

edits