mirror of
https://github.com/corvax-team/ss14-wl.git
synced 2026-02-14 19:29:57 +01:00
Set min and max height
This commit is contained in:
@@ -28,25 +28,15 @@ namespace Content.Server._WL.AddHeightItem
|
||||
|
||||
if (speciesProto.MaxItemHeight >= humanoid.Height)
|
||||
{
|
||||
if (!EntityManager.HasComponent<ItemComponent>(uid) &&
|
||||
!EntityManager.HasComponent<MultiHandedItemComponent>(uid) &&
|
||||
!EntityManager.HasComponent<CanEscapeInventoryComponent>(uid))
|
||||
{
|
||||
var size = "Ginormous";
|
||||
var size1 = "Ginormous";
|
||||
|
||||
var itemComponent = new ItemComponent();
|
||||
EntityManager.AddComponent(uid, itemComponent);
|
||||
_item.SetSize(uid, size, itemComponent);
|
||||
var item = EnsureComp<ItemComponent>(uid);
|
||||
_item.SetSize(uid, size1, item);
|
||||
|
||||
var multiHandedItem = new MultiHandedItemComponent();
|
||||
EntityManager.AddComponent(uid, multiHandedItem);
|
||||
EnsureComp<MultiHandedItemComponent>(uid);
|
||||
|
||||
var canEscapeInventory = new CanEscapeInventoryComponent
|
||||
{
|
||||
BaseResistTime = 1f
|
||||
};
|
||||
EntityManager.AddComponent(uid, canEscapeInventory);
|
||||
}
|
||||
var escape = EnsureComp<CanEscapeInventoryComponent>(uid);
|
||||
escape.BaseResistTime = 1f;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
femaleFirstNames: NamesIpcFirstFemale
|
||||
maleLastNames: NamesIpcLast # Corvax-LastnameGender
|
||||
femaleLastNames: NamesIpcLast # Corvax-LastnameGender
|
||||
# WL-Change-start
|
||||
# WL-Changes-start: Height
|
||||
minHeight: 120
|
||||
maxHeight: 230
|
||||
# WL-Change-end
|
||||
# WL-Changes-end: Height
|
||||
minAge: 0
|
||||
|
||||
- type: speciesBaseSprites
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
femaleFirstNames: NamesTajaranFirstFemale
|
||||
maleLastNames: NamesTajaranLast # Corvax-LastnameGender
|
||||
femaleLastNames: NamesTajaranLast # Corvax-LastnameGender
|
||||
# WL-Change-start
|
||||
# WL-Changes-start: Height
|
||||
maxHeight: 180
|
||||
minHeight: 140
|
||||
# WL-Change-end
|
||||
# WL-Changes-end: Height
|
||||
|
||||
- type: speciesBaseSprites
|
||||
id: MobTajaranSprites
|
||||
|
||||
@@ -13,11 +13,10 @@
|
||||
femaleFirstNames: NamesVulpFirstFemale
|
||||
maleLastNames: NamesVulpLast # Corvax-LastnameGender
|
||||
femaleLastNames: NamesVulpLast # Corvax-LastnameGender
|
||||
# WL-Change-start
|
||||
# WL-Changes-start: Height
|
||||
minHeight: 140
|
||||
maxHeight: 185
|
||||
maxItemHeight: 139
|
||||
# WL-Change-end
|
||||
# WL-Changes-end: Height
|
||||
|
||||
- type: speciesBaseSprites
|
||||
id: MobCorvaxVulpkaninSprites
|
||||
|
||||
@@ -14,6 +14,10 @@
|
||||
femaleLastNames: NamesArachnidLast # Corvax-LastnameGender
|
||||
sexes:
|
||||
- Unsexed
|
||||
# WL-Changes-start: Height
|
||||
minHeight: 150
|
||||
maxHeight: 230
|
||||
# WL-Changes-end: Height
|
||||
|
||||
- type: speciesBaseSprites
|
||||
id: MobArachnidSprites
|
||||
|
||||
@@ -18,6 +18,10 @@
|
||||
oldAge: 6000
|
||||
maxAge: 12000
|
||||
# Corvax-SpeciesAgeLore-End
|
||||
# WL-Changes-start: Height
|
||||
minHeight: 110
|
||||
maxHeight: 230
|
||||
# WL-Changes-end: Height
|
||||
|
||||
- type: speciesBaseSprites
|
||||
id: MobDionaSprites
|
||||
|
||||
@@ -7,6 +7,10 @@
|
||||
markingLimits: MobHumanMarkingLimits
|
||||
dollPrototype: MobHumanDummy
|
||||
skinColoration: HumanToned
|
||||
# WL-Changes-start: Height
|
||||
minHeight: 145
|
||||
maxHeight: 195
|
||||
# WL-Changes-end: Height
|
||||
|
||||
# The lack of a layer means that
|
||||
# this person cannot have round-start anything
|
||||
|
||||
@@ -12,6 +12,10 @@
|
||||
femaleFirstNames: NamesMothFirstFemale
|
||||
maleLastNames: NamesMothLast # Corvax-LastnameGender
|
||||
femaleLastNames: NamesMothLast # Corvax-LastnameGender
|
||||
# WL-Changes-start: Height
|
||||
minHeight: 150
|
||||
maxHeight: 210
|
||||
# WL-Changes-end: Height
|
||||
|
||||
- type: speciesBaseSprites
|
||||
id: MobMothSprites
|
||||
|
||||
@@ -11,6 +11,10 @@
|
||||
maleFirstNames: NamesReptilianMale
|
||||
femaleFirstNames: NamesReptilianFemale
|
||||
naming: FirstDashFirst
|
||||
# WL-Changes-start: Height
|
||||
minHeight: 170
|
||||
maxHeight: 230
|
||||
# WL-Changes-end: Height
|
||||
|
||||
- type: speciesBaseSprites
|
||||
id: MobReptilianSprites
|
||||
|
||||
@@ -8,6 +8,10 @@
|
||||
markingLimits: MobSlimeMarkingLimits
|
||||
dollPrototype: MobSlimePersonDummy
|
||||
skinColoration: Hues
|
||||
# WL-Changes-start: Height
|
||||
minHeight: 110
|
||||
maxHeight: 200
|
||||
# WL-Changes-end: Height
|
||||
|
||||
- type: speciesBaseSprites
|
||||
id: MobSlimeSprites
|
||||
|
||||
@@ -13,6 +13,10 @@
|
||||
naming: First
|
||||
sexes:
|
||||
- Unsexed
|
||||
# WL-Changes-start: Height
|
||||
minHeight: 150
|
||||
maxHeight: 180
|
||||
# WL-Changes-end: Height
|
||||
|
||||
- type: speciesBaseSprites
|
||||
id: MobVoxSprites
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
- type: entity
|
||||
id: ActionSlimeMetamorphosis
|
||||
name: Play MIDI
|
||||
description: Open your portable MIDI interface to soothe your owner.
|
||||
categories: [ HideSpawnMenu ]
|
||||
components:
|
||||
- type: Action
|
||||
checkCanInteract: false
|
||||
icon: Interface/Actions/mprfoz-slime.png
|
||||
- type: InstantAction
|
||||
event: !type:OpenUiActionEvent
|
||||
key: enum.MetamorfSlimeUiKey.Key
|
||||
@@ -27,7 +27,7 @@
|
||||
Slash: 5
|
||||
# - type: Thieving
|
||||
# stealthy: true
|
||||
stripTimeReduction: 2.5
|
||||
# stripTimeReduction: 2.5
|
||||
- type: Speech
|
||||
speechSounds: Alto
|
||||
allowedEmotes: ['Purr']
|
||||
|
||||
@@ -60,6 +60,7 @@
|
||||
understood:
|
||||
- Translate
|
||||
#WL-Changes: Languages end
|
||||
- type: AddHeightItem
|
||||
|
||||
- type: entity
|
||||
save: false
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
maleFirstNames: NamesReptilianMale
|
||||
femaleFirstNames: NamesReptilianFemale
|
||||
naming: FirstDashFirst
|
||||
minHeight: 170
|
||||
maxHeight: 220
|
||||
|
||||
- type: speciesBaseSprites
|
||||
id: MobAkulaSprites
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
markingLimits: MobAndroidMarkingLimits
|
||||
dollPrototype: MobAndroidDummy
|
||||
skinColoration: Hues
|
||||
minHeight: 120
|
||||
maxHeight: 230
|
||||
|
||||
- type: speciesBaseSprites
|
||||
id: MobAndroidSprites
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
femaleFirstNames: NamesCischiFirst
|
||||
maleLastNames: NamesCischiLastMale
|
||||
femaleLastNames: NamesCischiLastFemale
|
||||
minHeight: 170
|
||||
maxHeight: 220
|
||||
|
||||
- type: speciesBaseSprites
|
||||
id: MobCischiSprites
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
skinColoration: Hues
|
||||
sexes:
|
||||
- Unsexed
|
||||
minHeight: 110
|
||||
maxHeight: 220
|
||||
|
||||
- type: speciesBaseSprites
|
||||
id: MobGolemSprites
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
maleFirstNames: NamesReptilianMale
|
||||
femaleFirstNames: NamesReptilianFemale
|
||||
naming: FirstDashFirst
|
||||
minHeight: 160
|
||||
maxHeight: 200
|
||||
|
||||
- type: speciesBaseSprites
|
||||
id: MobHumanoidKidanSprites
|
||||
sprites:
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
markingLimits: MobMurineMarkingLimits
|
||||
dollPrototype: MobHumanoidMurineDummy
|
||||
skinColoration: Hues
|
||||
maxItemHeight: 140
|
||||
minHeight: 110
|
||||
maxHeight: 265
|
||||
|
||||
- type: speciesBaseSprites
|
||||
id: MobMurineSprites
|
||||
|
||||
Reference in New Issue
Block a user