* - add: Some tweaks and localization.

* - add: Teleport spell.

* - tweak: Tweak wizard hardsuit.

* - add: Turn off shield on cast.

* - add: New wizard clothes & update wizard shuttle,

* - remove: Remove old clothes from shuttle.

* - fix: No teleporting to centcomm.
This commit is contained in:
Aviu00
2024-06-09 16:26:27 +00:00
committed by GitHub
parent daa881b51b
commit 0c34a1fd9b
42 changed files with 1042 additions and 629 deletions

View File

@@ -38,7 +38,8 @@ public abstract class SharedScrollSystem : EntitySystem
if (args.Handled)
return;
var doAfterEventArgs = new DoAfterArgs(EntityManager, args.User, component.LearnTime, new ScrollDoAfterEvent(), uid, target: uid)
var doAfterEventArgs = new DoAfterArgs(EntityManager, args.User, component.LearnTime, new ScrollDoAfterEvent(),
uid, target: uid)
{
BreakOnMove = true,
BreakOnDamage = true,
@@ -50,7 +51,9 @@ public abstract class SharedScrollSystem : EntitySystem
_audioSystem.PlayPvs(component.UseSound, args.User);
}
_popupSystem.PopupClient($"You start learning about {component.LearnPopup}.", args.User, args.User, PopupType.Medium);
_popupSystem.PopupClient(
Loc.GetString("scroll-component-start", ("subject", Loc.GetString(component.LearnPopup))), args.User,
args.User, PopupType.Medium);
_doAfterSystem.TryStartDoAfter(doAfterEventArgs);
@@ -69,7 +72,9 @@ public abstract class SharedScrollSystem : EntitySystem
_audioSystem.PlayEntity(component.AfterUseSound, args.User, args.User);
}
_popupSystem.PopupClient($"You learned much about {component.LearnPopup}. The scroll is slowly burning in your hands.", args.User, args.User, PopupType.Medium);
_popupSystem.PopupClient(
Loc.GetString("scroll-component-end", ("subject", Loc.GetString(component.LearnPopup))), args.User,
args.User, PopupType.Medium);
BurnScroll(uid);
@@ -80,7 +85,7 @@ public abstract class SharedScrollSystem : EntitySystem
#region Helpers
protected virtual void BurnScroll(EntityUid uid) {}
protected virtual void BurnScroll(EntityUid uid) { }
#endregion
}