AVR143 Posted April 19, 2024 Posted April 19, 2024 I'm trying to add two new tiles to the game so that I can turn them into machines in the future. I made three files: .tiles, .pack, CB_WorldFiller.lua. Arranged them as follows: When I load the server (this makes it easier for me to work and test the functionality of the mod, write commands, etc.) with such a set of files, it loads and works. But as soon as I add the following script, everything stops working: module CBitems { imports { Base } item Press { Type = Moveable, DisplayCategory = Furniture, Icon = CBpress, Weight = 5.0, DisplayName = Press, WorldObjectSprite = press_test_0, } With this script I am trying to create an item (press) so that the player can later craft it, place it and use it for work. What's my mistake? Please tell me, I spent eight hours trying to implement all this.
AVR143 Posted April 19, 2024 Author Posted April 19, 2024 I found my mistake. For those interested: I forgot to put `}` at the end of the script. Yeah xD But I still won’t refuse your advice on creating functioning tiles in the game
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