Fixing some prototypes modifying components on init (#12385)

This commit is contained in:
rolfero
2022-11-05 16:28:44 +01:00
committed by GitHub
parent 7e3358375d
commit 2ef33e11b6
10 changed files with 27 additions and 32 deletions

View File

@@ -38,19 +38,6 @@ public sealed class PrototypeSaveTest
// TODO fix more prototypes // TODO fix more prototypes
// The rest of these prototypes (probably) shouldn't be getting ignored. // The rest of these prototypes (probably) shouldn't be getting ignored.
// There should be an issue up tracking all of these prototypes, indicating that still need to get fixed. // There should be an issue up tracking all of these prototypes, indicating that still need to get fixed.
"WeaponProtoKineticAccelerator",
"WeaponStaffHealing",
"WeaponStaffPolymorphDoor",
"WeaponWandPolymorphCarp",
"WeaponWandPolymorphMonkey",
"WeaponWandFireball",
"WeaponWandDeath",
"WeaponWandPolymorphDoor",
"GlowstickBase",
"GlowstickRed",
"GlowstickPurple",
"GlowstickYellow",
"GlowstickBlue",
"Thruster", "Thruster",
"Gyroscope", "Gyroscope",
"JawsOfLife", "JawsOfLife",

View File

@@ -29,7 +29,7 @@
color: "#00FF00" color: "#00FF00"
- type: Item - type: Item
sprite: Objects/Misc/glowstick.rsi sprite: Objects/Misc/glowstick.rsi
heldPrefix: off heldPrefix: unlit
- type: Appearance - type: Appearance
visuals: visuals:
- type: ExpendableLightVisualizer - type: ExpendableLightVisualizer
@@ -91,7 +91,7 @@
color: "#FF0000" color: "#FF0000"
- type: Item - type: Item
sprite: Objects/Misc/glowstick.rsi sprite: Objects/Misc/glowstick.rsi
heldPrefix: off heldPrefix: unlit
- type: PointLight - type: PointLight
enabled: false enabled: false
color: "#FF0000" color: "#FF0000"
@@ -126,7 +126,7 @@
color: "#FF00FF" color: "#FF00FF"
- type: Item - type: Item
sprite: Objects/Misc/glowstick.rsi sprite: Objects/Misc/glowstick.rsi
heldPrefix: off heldPrefix: unlit
- type: PointLight - type: PointLight
enabled: false enabled: false
color: "#FF00FF" color: "#FF00FF"
@@ -161,7 +161,7 @@
color: "#FFFF00" color: "#FFFF00"
- type: Item - type: Item
sprite: Objects/Misc/glowstick.rsi sprite: Objects/Misc/glowstick.rsi
heldPrefix: off heldPrefix: unlit
- type: PointLight - type: PointLight
enabled: false enabled: false
color: "#FFFF00" color: "#FFFF00"
@@ -196,7 +196,7 @@
color: "#0000FF" color: "#0000FF"
- type: Item - type: Item
sprite: Objects/Misc/glowstick.rsi sprite: Objects/Misc/glowstick.rsi
heldPrefix: off heldPrefix: unlit
- type: PointLight - type: PointLight
enabled: false enabled: false
color: "#0000FF" color: "#0000FF"
@@ -220,7 +220,7 @@
color: "#FF0000" color: "#FF0000"
- type: Item - type: Item
sprite: Objects/Misc/glowstick.rsi sprite: Objects/Misc/glowstick.rsi
heldPrefix: off heldPrefix: unlit
- type: PointLight - type: PointLight
enabled: true enabled: true
color: "#FF0000" color: "#FF0000"
@@ -250,7 +250,7 @@
color: "#FF0000" color: "#FF0000"
- type: Item - type: Item
sprite: Objects/Misc/glowstick.rsi sprite: Objects/Misc/glowstick.rsi
heldPrefix: off heldPrefix: unlit
- type: PointLight - type: PointLight
enabled: true enabled: true
color: "#FF0000" color: "#FF0000"
@@ -281,7 +281,7 @@
color: "#FF0000" color: "#FF0000"
- type: Item - type: Item
sprite: Objects/Misc/glowstick.rsi sprite: Objects/Misc/glowstick.rsi
heldPrefix: off heldPrefix: unlit
- type: PointLight - type: PointLight
enabled: false enabled: false
color: "#FF0000" color: "#FF0000"
@@ -320,7 +320,7 @@
color: "#FF0000" color: "#FF0000"
- type: Item - type: Item
sprite: Objects/Misc/glowstick.rsi sprite: Objects/Misc/glowstick.rsi
heldPrefix: off heldPrefix: unlit
- type: PointLight - type: PointLight
enabled: false enabled: false
color: "#FF0000" color: "#FF0000"
@@ -350,7 +350,7 @@
color: "#FF0000" color: "#FF0000"
- type: Item - type: Item
sprite: Objects/Misc/glowstick.rsi sprite: Objects/Misc/glowstick.rsi
heldPrefix: off heldPrefix: unlit
- type: PointLight - type: PointLight
enabled: false enabled: false
color: "#FF0000" color: "#FF0000"
@@ -381,7 +381,7 @@
color: "#FF0000" color: "#FF0000"
- type: Item - type: Item
sprite: Objects/Misc/glowstick.rsi sprite: Objects/Misc/glowstick.rsi
heldPrefix: off heldPrefix: unlit
- type: PointLight - type: PointLight
enabled: false enabled: false
color: "#FF0000" color: "#FF0000"

View File

@@ -31,3 +31,4 @@
- type: BasicEntityAmmoProvider - type: BasicEntityAmmoProvider
proto: BulletKinetic proto: BulletKinetic
capacity: 1 capacity: 1
count: 1

View File

@@ -17,6 +17,7 @@
- type: BasicEntityAmmoProvider - type: BasicEntityAmmoProvider
proto: ProjectileHealingBolt proto: ProjectileHealingBolt
capacity: 10 capacity: 10
count: 10
- type: entity - type: entity
name: staff of entrance name: staff of entrance
@@ -35,3 +36,4 @@
- type: BasicEntityAmmoProvider - type: BasicEntityAmmoProvider
proto: ProjectilePolyboltDoor proto: ProjectilePolyboltDoor
capacity: 10 capacity: 10
count: 10

View File

@@ -24,6 +24,7 @@
- type: BasicEntityAmmoProvider - type: BasicEntityAmmoProvider
proto: ProjectilePolyboltCarp proto: ProjectilePolyboltCarp
capacity: 5 capacity: 5
count: 5
- type: entity - type: entity
name: wand of monkey polymorph name: wand of monkey polymorph
@@ -34,6 +35,7 @@
- type: BasicEntityAmmoProvider - type: BasicEntityAmmoProvider
proto: ProjectilePolyboltMonkey proto: ProjectilePolyboltMonkey
capacity: 5 capacity: 5
count: 5
- type: entity - type: entity
name: wand of fireball name: wand of fireball
@@ -53,6 +55,7 @@
- type: BasicEntityAmmoProvider - type: BasicEntityAmmoProvider
proto: ProjectileFireball proto: ProjectileFireball
capacity: 5 capacity: 5
count: 5
- type: entity - type: entity
name: magical wand of instant death name: magical wand of instant death
@@ -71,6 +74,7 @@
- type: BasicEntityAmmoProvider - type: BasicEntityAmmoProvider
proto: BulletInstakillMagic proto: BulletInstakillMagic
capacity: 3 capacity: 3
count: 3
- type: entity - type: entity
name: wand of entrance name: wand of entrance
@@ -89,3 +93,4 @@
- type: BasicEntityAmmoProvider - type: BasicEntityAmmoProvider
proto: ProjectilePolyboltDoor proto: ProjectilePolyboltDoor
capacity: 10 capacity: 10
count: 10

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@@ -8,32 +8,32 @@
}, },
"states": [ "states": [
{ {
"name": "off-inhand-left", "name": "unlit-inhand-left",
"directions": 4 "directions": 4
}, },
{ {
"name": "off-inhand-right", "name": "unlit-inhand-right",
"directions": 4 "directions": 4
}, },
{ {
"name": "on-inhand-left", "name": "lit-inhand-left",
"directions": 4 "directions": 4
}, },
{ {
"name": "on-inhand-right", "name": "lit-inhand-right",
"directions": 4 "directions": 4
}, },
{ {
"name": "glowstick_base", "name": "glowstick_base"
}, },
{ {
"name": "glowstick_lit", "name": "glowstick_lit"
}, },
{ {
"name": "glowstick_glow", "name": "glowstick_glow"
}, },
{ {
"name": "glowstick_unlit", "name": "glowstick_unlit"
} }
] ]
} }

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB