Skip to content

Commit 5027468

Browse files
committed
Add lua table with all effect names
1 parent be520c4 commit 5027468

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

web/src/pages/reference/ID_Lists/Effects.astro

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import SeeAlsoSection from "@src/components/SeeAlsoSection.astro";
44
import { getSeeAlsoLinksFromList } from "@src/utils/general";
55
import { Image } from "astro:assets";
66
import { getAssetImagePath } from "@src/utils/general";
7+
import Code from "astro/components/Code.astro";
78
89
const effectNames = [
910
"blood_heli","boat_prop","camflash","carwashspray","cement","cloudfast","coke_puff","coke_trail","cigarette_smoke",
@@ -38,6 +39,29 @@ const effectNames = [
3839
))}
3940
</div>
4041

42+
<p>A table containing all (82) effect names.</p>
43+
<Code lang="lua" code=`local effectNames = {
44+
"blood_heli", "boat_prop", "camflash", "carwashspray", "cement",
45+
"cloudfast", "coke_puff", "coke_trail", "cigarette_smoke",
46+
"explosion_barrel", "explosion_crate", "explosion_door", "exhale",
47+
"explosion_fuel_car", "explosion_large", "explosion_medium",
48+
"explosion_molotov", "explosion_small", "explosion_tiny", "extinguisher",
49+
"flame", "fire", "fire_med", "fire_large", "flamethrower", "fire_bike",
50+
"fire_car", "gunflash", "gunsmoke", "insects", "heli_dust", "jetpack",
51+
"jetthrust", "nitro", "molotov_flame", "overheat_car",
52+
"overheat_car_electric", "prt_blood", "prt_boatsplash", "prt_bubble",
53+
"prt_cardebris", "prt_collisionsmoke", "prt_glass", "prt_gunshell",
54+
"prt_sand", "prt_sand2", "prt_smokeII_3_expand", "prt_smoke_huge",
55+
"prt_spark", "prt_spark_2", "prt_splash", "prt_wake", "prt_watersplash",
56+
"prt_wheeldirt", "petrolcan", "puke", "riot_smoke", "spraycan",
57+
"smoke30lit", "smoke30m", "smoke50lit", "shootlight", "smoke_flare",
58+
"tank_fire", "teargas", "teargasAD", "tree_hit_fir", "tree_hit_palm",
59+
"vent", "vent2", "water_hydrant", "water_ripples", "water_speed",
60+
"water_splash", "water_splash_big", "water_splsh_sml", "water_swim",
61+
"waterfall_end", "water_fnt_tme", "water_fountain", "wallbust",
62+
"WS_factorysmoke"
63+
}`/>
64+
4165
<style>
4266
.effects-grid {
4367
display: grid;

0 commit comments

Comments
 (0)