Search lights not workingBug
It does not seem to be working for searchlights.  I did some hacking and made a variant that seems to be work by adding:
private void OnItemUse(Item item, int amount) { string shortName = item.parent?.parent?.info?.shortname ?? item.GetRootContainer()?.entityOwner?.ShortPrefabName; if (string.IsNullOrEmpty(shortName) || !activeShortNames.Contains(shortName) || item == null) { return; } else { item.amount += amount; } }
btw that hack does not take fuel out of the tc... it is more of a proof of concept.
In response to MalS ():
btw that hack does not take fuel out of the tc... it is more of a proof of concept.
Unfortunately this would require the search light to have fuel in it. I did request a hook addition so this would be possible ages ago, but it has not yet been added (afaik)