Tr3 small dinosaur fix (#1002)

* adding compies, test phase

* formatting

* removed SAS test flag

* added script command EffectID Cadaver

* formatting

* formatting

* limit the item timer to 250

* bugfixing
This commit is contained in:
Nemoel-Tomo 2023-02-13 19:49:15 +01:00 committed by GitHub
parent 4de493d8be
commit 1566fd19e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 389 additions and 1 deletions

View file

@ -677,6 +677,10 @@ void Moveable::SetEffect(EffectType effectType, sol::optional<float> timeout)
ItemRedLaserBurn(m_item, realTimeout);
break;
case EffectType::Cadaver:
ItemSetAsCadaver(m_item, realTimeout);
break;
case EffectType::Custom:
ScriptWarn("CUSTOM effect type requires additional setup. Use SetCustomEffect command instead.");
}