mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-01-19 20:25:01 +00:00
Merge branch 'chore/react-three-fiber' of https://github.com/exogen/t2-mapper into chore/react-three-fiber
This commit is contained in:
commit
aaecdc95b9
|
|
@ -13,7 +13,7 @@
|
|||
"deploy": "npm run build && git add -f docs && git commit -m \"Deploy\" && git push",
|
||||
"postbuild": "git checkout -- public/base",
|
||||
"prebuild": "npm run clean && git checkout -- docs && rimraf public/base && mv docs/base public/",
|
||||
"start": "next dev"
|
||||
"start": "next dev --turbopack"
|
||||
},
|
||||
"dependencies": {
|
||||
"@react-three/drei": "^10.7.6",
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ export function InspectorControls({
|
|||
return (
|
||||
<div
|
||||
id="controls"
|
||||
onKeyDown={(e) => e.stopPropagation()}
|
||||
onPointerDown={(e) => e.stopPropagation()}
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
>
|
||||
|
|
|
|||
|
|
@ -10,17 +10,33 @@ import {
|
|||
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",
|
||||
ConcussionGrenade: "grenade.dts",
|
||||
DiscAmmo: "ammo_disc.dts",
|
||||
ELFGun: "weapon_elf.dts",
|
||||
EnergyPack: "pack_upgrade_energy.dts",
|
||||
Flag: "flag.dts",
|
||||
FlareGrenade: "grenade.dts",
|
||||
Grenade: "grenade.dts",
|
||||
GrenadeLauncher: "weapon_grenade_launcher.dts",
|
||||
GrenadeLauncherAmmo: "ammo_grenade.dts",
|
||||
InventoryDeployable: "pack_deploy_inventory.dts",
|
||||
Mine: "ammo_mine.dts",
|
||||
MotionSensorDeployable: "pack_deploy_sensor_motion.dts",
|
||||
Plasma: "weapon_plasma.dts",
|
||||
PlasmaAmmo: "ammo_plasma.dts",
|
||||
PulseSensorDeployable: "pack_deploy_sensor_pulse.dts",
|
||||
RepairKit: "repair_kit.dts",
|
||||
RepairPack: "pack_upgrade_repair.dts",
|
||||
RepairPatch: "repair_patch.dts",
|
||||
CloakingPack: "pack_upgrade_cloaking.dts",
|
||||
SensorJammerPack: "pack_upgrade_sensorjammer.dts",
|
||||
ShieldPack: "pack_upgrade_shield.dts",
|
||||
EnergyPack: "pack_upgrade_energy.dts",
|
||||
ShockLance: "weapon_shocklance.dts",
|
||||
SniperRifle: "weapon_sniper.dts",
|
||||
PlasmaAmmo: "ammo_plasma.dts",
|
||||
Plasma: "weapon_plasma.dts",
|
||||
};
|
||||
|
||||
let _caseInsensitiveLookup: Record<string, string>;
|
||||
|
|
|
|||
|
|
@ -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>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue