Solid 10/10. Does what's promised with an extra twist: items picked up by the gravitational field don't just stupidly approach the containment box linearly but SwIrL arOuNd iT like a quantum tornado!
It could be 9/10, but the sound of the box opening/closing scared me so much that I even inspected the source code (line 268) to see why are the sounds global. Perhaps they aren't and they are just so damn loud! Because of extra horror, this earns an ironclad 1000000/1000000!
Plus the model... A talented fellow you are, I opine.
I could've missed this mod on the contentDB page, but my SCP-tuned brain automatically reacted to 'containment'.
i new you would notice the word containment, i am happy you liked it, if you hate a player, place it right outside of thair home/ protective field, and it should suck up everything in the house, soon the on_place function will include ignore_protector, so it can be placed in the houses protective field, in case of a multiplayer scinario, happy ju liked it!
In a hypothetical scenario, I imagine an anarchy server being given only one such box...
Or even a creative server player acquiring it somehow, perhaps via admin help... and the fun begins.
Upon testing I have discovered that entities residing within the active zone get pulled in too, equivalently to the dropped node item entities. However, it appears that you had deliberately disabled this functionality for players. I believe that this should be controlled by a setting, like this:
Instead of
if obj:is_player() then
-- Skip if the object is a player
else
Write
if obj:is_player and not player_suction then
-- Skip if the object is a player
else
Where 'player_suction' would be a setting defined as a boolean in 'settingtypes.txt' and pulled in by the program into a local variable using:
local player_suction = minetest.settings:get_bool ("player_suction") or true
good morning! i did dilibritly disable player suction, the original plan was to keep it disabled unless someone asked for it to be enabled, now that you asked, i will enable it now. thanks for the help!
I think it'd be a good idea to do minetest.is_player(player) instead of obj:is_player() as well, in case obj is not a userdata or doesn't have the :is_player() function or is nil. I've learned not to trust functions like that X3
Solid 10/10. Does what's promised with an extra twist: items picked up by the gravitational field don't just stupidly approach the containment box linearly but SwIrL arOuNd iT like a quantum tornado!
It could be 9/10, but the sound of the box opening/closing scared me so much that I even inspected the source code (line 268) to see why are the sounds global. Perhaps they aren't and they are just so damn loud! Because of extra horror, this earns an ironclad 1000000/1000000!
Plus the model... A talented fellow you are, I opine.
I could've missed this mod on the contentDB page, but my SCP-tuned brain automatically reacted to 'containment'.
i new you would notice the word containment, i am happy you liked it, if you hate a player, place it right outside of thair home/ protective field, and it should suck up everything in the house, soon the on_place function will include ignore_protector, so it can be placed in the houses protective field, in case of a multiplayer scinario, happy ju liked it!
is there a spacific request for a mod? i have way to much free time.
In a hypothetical scenario, I imagine an anarchy server being given only one such box... Or even a creative server player acquiring it somehow, perhaps via admin help... and the fun begins.
Upon testing I have discovered that entities residing within the active zone get pulled in too, equivalently to the dropped node item entities. However, it appears that you had deliberately disabled this functionality for players. I believe that this should be controlled by a setting, like this:
Instead of
Write
Where 'player_suction' would be a setting defined as a boolean in 'settingtypes.txt' and pulled in by the program into a local variable using:
local player_suction = minetest.settings:get_bool ("player_suction") or true
Now I must depart briefly to commence dinner.
good morning! i did dilibritly disable player suction, the original plan was to keep it disabled unless someone asked for it to be enabled, now that you asked, i will enable it now. thanks for the help!
I think it'd be a good idea to do minetest.is_player(player) instead of obj:is_player() as well, in case obj is not a userdata or doesn't have the :is_player() function or is nil. I've learned not to trust functions like that X3
That's actually nice. I will use that technique from now on.
Ayy :D I'm surprised folk don't use it more - maybe it's laggier to? idk