MF99K Posted November 17, 2019 Share Posted November 17, 2019 (edited) Hi guys, I'm trying to make a mod that adds functionality to the ownership mod by making it so only building owners can use anchors and sails so boats cannot be stolen. The mod won't break, but also doesn't do anything atm besides print what i ask it to in console. Here is the current modmain file: modmain.lua Edited November 19, 2019 by MF99K update Link to comment Share on other sites More sharing options...
MF99K Posted November 19, 2019 Author Share Posted November 19, 2019 update: does anyone know if its possible to use print() to get the tags a prefab has? Link to comment Share on other sites More sharing options...
Electroely Posted November 19, 2019 Share Posted November 19, 2019 (edited) 10 hours ago, MF99K said: update: does anyone know if its possible to use print() to get the tags a prefab has? You can take a look at the entity's debug string, shown in the top left when you press backspace with the entity selected (via c_select()). You also can get this string through the function inst:GetDebugString(). I don't know of any other way to list tags otherwise. Edited November 19, 2019 by Electroely Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now