-
Notifications
You must be signed in to change notification settings - Fork 8
Add new map "Skywars" by Themostrandom01 and I_am #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
I was looking for ctf_map:loot_block on your map, but couldn't find it... Where did you place them? |
|
There's another issue: A lot of the void. What if we placed a small central island with a few ctf_map:loot_blocks? Players could fiercely fight for control of this key point to secure loot - turning it into a strategic hotspot. |
|
I’d say overall the map is quite simple; it lacks architectural variety and strategic depth |
|
Overall, I like the idea of having loot spawners. |
| return false | ||
| end | ||
|
|
||
| minetest.register_abm({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that instead of ABM, you could use node timer for periodic item spawning with a chance.
Skywars/init.lua
Outdated
| local cumulative = 0 | ||
|
|
||
| for _, entry in ipairs(loot_table) do | ||
| if current_mode == "classes" then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Undefined current_mode


Loot Block Spawner (Minetest Mod)
This script defines a special unbreakable block (
ctf_map:loot_block) that periodically spawns random loot when players are nearby.📦 Features
Unbreakable Loot Block
Automatic Loot Spawning
Configurable Loot Table
The loot table contains weapons, resources, and traps with different chances of appearing:
Game Mode Filters
Loot depends on the current game mode:
classesmode → No weapons will spawn.nade_fightmode → Only steel and mese swords are allowed (diamond swords excluded).