[Mod] Circular saw in inventory [invsaw][git]

cheapie
Member
 
Posts: 304
Joined: Mon May 14, 2012 00:59
GitHub: cheapie
IRC: cheapie
In-game: cheapie

[Mod] Circular saw in inventory [invsaw][git]

by cheapie » Tue May 24, 2016 20:02

Image

Description:
This mod adds a button in unified_inventory that opens a formspec that works exactly like the moreblocks circular saw. It requires that either the server is in creative mode, you have the "creative" priv, or you have one or more circular saws (moreblocks:circular_saw) in your inventory.

License:
Contains large amounts of code based on Calinou's moreblocks mod, and a texture based on some textures from the same mod.
Code - zlib
Textures - CC BY-SA 3.0 Unported

Dependencies: moreblocks,unified_inventory

Download: ZIP or Git
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Circular saw in inventory [invsaw][git]

by azekill_DIABLO » Wed May 25, 2016 14:02

+1
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

Gundul
Member
 
Posts: 177
Joined: Thu Aug 27, 2015 10:55
GitHub: berengma
IRC: Gundul

Re: [Mod] Circular saw in inventory [invsaw][git]

by Gundul » Sat May 28, 2016 13:19

Cool mod and my players like it, too.


This morning I got the following error

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
2016-05-28 08:53:04: WARNING[Server]: Undeclared global variable "pos" accessed at /home/mars/.minetest/mods/invsaw/init.lua:139
2016-05-28 08:53:05: WARNING[Main]: [xban] Unable to save database: Write failed
2016-05-28 08:53:05: ACTION[Main]: [fishing] Server shuts down. saving trophies table
2016-05-28 08:53:05: ERROR[Main]: ServerError: Lua: Runtime error from mod '??' in callback detached_inventory_OnTake(): Invalid position (expected table got nil).
2016-05-28 08:53:05: ERROR[Main]: stack traceback:
2016-05-28 08:53:05: ERROR[Main]:    [C]: in function 'get_meta'
2016-05-28 08:53:05: ERROR[Main]:    /home/mars/.minetest/mods/moreblocks/circular_saw.lua:119: in function 'reset'
2016-05-28 08:53:05: ERROR[Main]:    /home/mars/.minetest/mods/invsaw/init.lua:139: in function </home/mars/.minetest/mods/invsaw/init.lua:129>



Any idea what could that be. It happened in the middle of the game. (running minetest 0.4.14 stable)
 

cheapie
Member
 
Posts: 304
Joined: Mon May 14, 2012 00:59
GitHub: cheapie
IRC: cheapie
In-game: cheapie

Re: [Mod] Circular saw in inventory [invsaw][git]

by cheapie » Sat May 28, 2016 13:26

Gundul wrote:Cool mod and my players like it, too.


This morning I got the following error

Any idea what could that be. It happened in the middle of the game. (running minetest 0.4.14 stable)


I think I see what's causing that. I think it should be fixed now (download links will automatically update). Go ahead and redownload, and it should work properly now.
 

User avatar
wilkgr76
Member
 
Posts: 680
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76
IRC: wilkgr
In-game: wilkgr

Re: [Mod] Circular saw in inventory [invsaw][git]

by wilkgr76 » Wed Jun 01, 2016 22:12

+googolplex²
I do not care.
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 13 guests

cron