Skip to content

Commit 17c152e

Browse files
committed
feat: Split CubeBehavior into CubeShape also
1 parent 102c17f commit 17c152e

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

fgd/point/prop/prop_weighted_cube.fgd

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,24 @@
66
line_cube[-engine](string) readonly : "----------------------------------------------------------------------------------------------------------" : ""
77

88
CubeBehavior[engine](integer) : "Cube Behavior" : 0
9-
CubeBehavior(choices) : "Cube Behavior" : 0 : "How does this cube function? Use a prop_monster_box for Frankenturrets." =
9+
CubeBehavior(choices) : "Cube Behavior" : 0 : "How does this cube function? Use a prop_monster_box for Frankenturrets. If Auto, this is chosen based on the cube model." =
1010
[
11-
0: "Standard Cube"
12-
1: "Reflection Cube"
13-
2: "Sphere (presses sphere buttons)"
11+
0: "Auto (from model)"
12+
1: "Standard Cube"
13+
2: "Reflection Cube"
1414
3: "Schrodinger's Cube"
1515
]
16+
CubeShape[engine](integer) : "Cube Shape" : 0
17+
CubeShape(choices) : "Cube Behavior" : 0 : "What shape is this cube? This determines how it presses buttons. If Auto, this is chosen based on the cube model." =
18+
[
19+
0: "Auto (from model)"
20+
1: "Cubic"
21+
2: "Spherical"
22+
]
1623

1724
model[engine](studio) : "Model" : ""
18-
model(choices) : "Cube Model" : "models/props/cubes/standard_cube.mdl" : "What model to use. You can also type/paste in a custom model path here." =
25+
model(choices) : "Cube Model" : "models/props/cubes/standard_cube.mdl" : "What model to use. You can also type/paste in a custom model path here. " +
26+
"If using a custom model, Cube Behavior and Shape must be set." =
1927
[
2028
"models/props/cubes/standard_cube.mdl": "Weighted Storage Cube"
2129
"models/props/cubes/standard_cube_rusty.mdl": "Weighted Storage Cube (rusty)"
@@ -25,6 +33,7 @@
2533
"models/props/cubes/sphere.mdl": "Edgeless Safety Cube"
2634
"models/props/cubes/antique_cube.mdl": "Antique Cube"
2735
"models/props/cubes/schrodinger_cube.mdl": "Schrodinger's Cube"
36+
"models/props/cubes/schrodinger_cube_rusty.mdl": "Schrodinger's Cube (rusty)"
2837
]
2938

3039
paintpower[engine](integer) : "Starting Paint" : 4
@@ -98,9 +107,9 @@
98107
input EnablePortalFunnel(void) : "Enable portal funneling behavior."
99108
input DisablePortalFunnel(void) : "Disable portal funneling behavior."
100109
input EnableMotion(void) : "Allow physics simulation."
101-
input DisableMotion(void) : "Prevent Physics simulation, freezing the cube in place."
110+
input DisableMotion(void) : "Prevent physics simulation, freezing the cube in place."
102111
input ExitDisabledState(void) : "Exits the disabled state of a reflective cube."
103-
input SetPaint(integer) : "Force the cube to be painted with 0 (Repulsion), 2 (Propulsion), or 4 (No) gel."
112+
input SetPaint(integer) : "Force the cube to be painted with 0 (Repulsion), 1 (Reflection), 2 (Propulsion), 3 (Conversion) or 4 (No) gel."
104113

105114
input SetReflectModifyColor(color255) : "Changes the laser modifier colour of the cube."
106115
input SetReflectFilterColor(color255) : "Changes the laser filter colour of the cube."

0 commit comments

Comments
 (0)