Skip to content

Toolshed examples fixes - #695

Open
riccardi48 wants to merge 2 commits into
space-wizards:masterfrom
riccardi48:toolshed-fixes
Open

riccardi48 wants to merge 2 commits into
space-wizards:masterfrom
riccardi48:toolshed-fixes

Conversation

@riccardi48

@riccardi48 riccardi48 commented Nov 26, 2026 •

Copy link
Copy Markdown

The toolshed fun commands examples https://docs.spacestation14.com/en/robust-toolbox/toolshed/toolshed-examples.html are outdated and need updating.

  • THE BEES WILL CONTINUE UNTIL MORALE IMPROVES: fixed typo in prototyped command. Changed number from 10 to 6 as default cvar toolshed.nearby_entities_limit is 5 but command requires it to be 7.
> self rep 6 spawn:on "MobAngryBee" nearby 6 prototyped MobAngryBee select 1 tag:add "DoorBumpOpener" do "makeghostrole $ID \"Queen Bee\" \"Lead the bees!\"" do "rename $ID \"Queen Bee\"" nearby 6 prototyped MobAngryBee not with GhostRole do "makeghostrole $ID \"Angry Bee\" \"You are an angry bee and you want some pizza.\""
  • Bee plushie grenade: ClusterGrenade was renamed to ProjectileGrenade. This still gives an error due to RobustToolbox#7247.
> self spawn:on "GrenadeStinger" do "rename $ID \"bee plushie grenade\"" do "vvwrite /entity/$ID/ProjectileGrenade/FillPrototype \"PlushieBee\""
  • Put the station into debt: A bank account toolshed has since been added.
> stations:get bank:account Cargo bank:set -1000
Plushies
2026-11-26.16-24-38.mp4

Have you ever wanted a bee plushie grenade? You can have one with this simple command!
```
> self spawn:on "GrenadeStinger" do "rename $ID \"bee plushie grenade\"" do "vvwrite /entity/$ID/ClusterGrenade/FillPrototype \"PlushieBee\""
> self spawn:on "GrenadeStinger" do "rename $ID \"bee plushie grenade\"" do "vvwrite /entity/$ID/ProjectileGrenade/FillPrototype \"PlushieBee\""

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one give error

[ERRO] con: localhost@JoeGenero: ExecuteError - vvwrite /entity/5535/ProjectileGrenade/FillPrototype "PlushieBee":
Robust.Shared.Utility.DebugAssertException: Attempted to dirty a non-networked component: Content.Server.Explosion.Components.ProjectileGrenadeComponent
at Robust.Shared.Utility.DebugTools.Assert(Boolean condition, AssertInterpolatedStringHandler& message) in E:\Sources\Repos\ss14\space-station-14\RobustToolbox\Robust.Shared\Utility\DebugTools.cs:line 215
at Robust.Shared.GameObjects.EntityManager.DirtyInternal(EntityUid uid, IComponent component, MetaDataComponent meta, Boolean isUnclassifiedChange) in E:\Sources\Repos\ss14\space-station-14\RobustToolbox\Robust.Shared\GameObjects\EntityManager.cs:line 439
at Robust.Shared.GameObjects.EntityManager.Dirty(EntityUid uid, IComponent component, MetaDataComponent meta) in E:\Sources\Repos\ss14\space-station-14\RobustToolbox\Robust.Shared\GameObjects\EntityManager.cs:line 430
at Robust.Shared.ViewVariables.ViewVariablesFieldOrPropertyPath.Set(Object value) in E:\Sources\Repos\ss14\space-station-14\RobustToolbox\Robust.Shared\ViewVariables\ViewVariablesPath.cs:line 151
at Robust.Shared.ViewVariables.ViewVariablesManager.WritePath(String path, String value) in E:\Sources\Repos\ss14\space-station-14\RobustToolbox\Robust.Shared\ViewVariables\ViewVariablesManager.cs:line 69
at Robust.Shared.ViewVariables.Commands.ViewVariablesWriteCommand.Execute(IConsoleShell shell, String argStr, String[] args) in E:\Sources\Repos\ss14\space-station-14\RobustToolbox\Robust.Shared\ViewVariables\Commands\ViewVariablesWriteCommand.cs:line 33
at Robust.Server.Console.ServerConsoleHost.ExecuteInShell(IConsoleShell shell, String command) in E:\Sources\Repos\ss14\space-station-14\RobustToolbox\Robust.Server\Console\ServerConsoleHost.cs:line 127

which is not nice

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, this seems like an engine fix though and I made an issue for it. If I knew more engine I would have PR'd it but I just made an issue with a suggestion instead.

I don't know if this is possible to do without causing the error, I assume it always caused an error in the past as the old component was also server side only.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants