Scrap Mechanic

Scrap Mechanic

Airfoil and Other Parts
7 Comments
boni.mqn. 25 May @ 5:59am 
my favorite mod ever!
boni.mqn. 9 Nov, 2024 @ 4:27am 
thank you for the fix!
Random robot  [author] 9 Nov, 2024 @ 12:19am 
Patched. Should nolonger be an issue.
boni.mqn. 8 Nov, 2024 @ 3:33pm 
love this mod!
made a plane with it!
one problem i have with this mod is that all aerodynamic just, disappear when damage is done to airfoils(or other blocks?)
Random robot  [author] 11 Feb, 2024 @ 8:50am 
Noted.
Will fix soon.
Vajdani 11 Feb, 2024 @ 8:41am 
Also, setting a variable in a client side function and using it later in a server side function will only work for the host, no one else. Try using self.network:sendToServer() to call a server side function where you can execute your code.
Vajdani 11 Feb, 2024 @ 8:37am 
I looked into your code and saw that you are checking for the part's title to determine some things. Thats not a reliable way to check it(if your mod supports multiple languages, it can cause problems), consider checking the part's UUID instead. You should either do tostring(uuid) == "some_uuid" or uuid == sm.uuid.new("some_uuid")