add more shapes

This commit is contained in:
Brian Beck 2025-11-14 22:46:58 -08:00
parent cc909af568
commit 3475855fcb
3 changed files with 9 additions and 0 deletions

View file

@ -32,6 +32,7 @@ export function InspectorControls({
return (
<div
id="controls"
onKeyDown={(e) => e.stopPropagation()}
onPointerDown={(e) => e.stopPropagation()}
onClick={(e) => e.stopPropagation()}
>

View file

@ -11,6 +11,8 @@ import { ShapeModel, ShapePlaceholder } from "./GenericShape";
const dataBlockToShapeName = {
AmmoPack: "pack_upgrade_ammo.dts",
Beacon: "beacon.dts",
Chaingun: "weapon_chaingun.dts",
ChaingunAmmo: "ammo_chaingun.dts",
CloakingPack: "pack_upgrade_cloaking.dts",
DiscAmmo: "ammo_disc.dts",

View file

@ -13,15 +13,21 @@ const dataBlockToShapeName = {
Banner_Honor: "banner_honor.dts",
Banner_Strength: "banner_strength.dts",
Banner_Unity: "banner_unity.dts",
CreativityPad: "station_teleport.dts",
ExteriorFlagStand: "ext_flagstand.dts",
FlipFlop: "switch.dts",
GeneratorLarge: "station_generator_large.dts",
InteriorFlagStand: "int_flagstand.dts",
LightMaleHuman_Dead: "light_male_dead.dts",
LogoProjector: "teamlogo_projector.dts",
SensorLargePulse: "sensor_pulse_large.dts",
SensorMediumPulse: "sensor_pulse_medium.dts",
SolarPanel: "solarpanel.dts",
StaticShape: "switch.dts",
StationInventory: "station_inv_human.dts",
StationVehicle: "vehicle_pad_station.dts",
StationVehiclePad: "vehicle_pad.dts",
Teleporter: "nexusbase.dts",
};
let _caseInsensitiveLookup: Record<string, string>;