SBFactoryMonsterCounterV0

Share interesting stuff you have found or created yourself.
Post Reply
User avatar
Barbie
Godlike
Posts: 2824
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

SBFactoryMonsterCounterV0

Post by Barbie »

Before game starts, this mutator iterates over all ThingFactories and its sub classes and checks, if their Prototype is a Pawn. If so, an existing counter for that factory is searched. If a counter is found and its message is empty, it is set to the default message. If its message is deactivated, it is activated. If no counter is found, an Extended Counter is spawned. The counter's NumToCount is set to the Capacity of the ThingFactory, and Counter's Prototype is set accordingly.

Description and source code included.
Attachments
SBFactoryMonsterCounterV0.7z
(43.71 KiB) Downloaded 20 times
"If Origin not in center it be not in center." --Buggie
Post Reply