Commit Graph

78 Commits (680d9780a16bef35a9cf209adb6167115d664945)

Author SHA1 Message Date
Giov4 680d9780a1 + BIG code refactoring, fixing and cleaning (part 1) 2020-10-23 00:35:26 +02:00
Giov4 197c69a907 + Various fixes to copykits and copytreasures cmds 2020-10-22 22:38:03 +02:00
Giov4 317e9fb873 + Moved utils funcions in utils.lua 2020-10-22 12:31:53 +02:00
Giov4 71b2d7e8ac + fixed get_looking_node_pos crash on error
- debug logs
2020-10-22 12:25:45 +02:00
Giov4 3dfb97eab8 + Fixed get_arena_by_pos and moved some functions into init.lua 2020-10-22 12:23:32 +02:00
Giov4 2d66094a01 + Refactoring and code cleaning 2020-10-21 15:14:29 +02:00
Giov4 ca4a8395da + Fixed tutorial cmd 2020-10-21 14:57:08 +02:00
Giov4 b666a6b2cc + Code cleaning (get_wielded_item)
+ get_looking_node -> get_looking_node_pos
2020-10-21 14:55:09 +02:00
Giov4 430708d5ac + inspect cmd (to inspect a chest)
+ kit background width/height properties
- tutorial from the cmds
  now /tutorial tells the user to look at the file
+ moved local functions at the end of the source files
+ now addchest and removechest cmds don't require the
  player to specify the arena anymore
- addchest pos cmd
+ tutorial fixes
+ code cleaning
2020-10-21 14:31:21 +02:00
Giov4 a479580ace - debug log 2020-10-20 23:10:07 +02:00
Giov4 9edbd25b61 + Fixed reset cmd 2020-10-20 22:04:26 +02:00
Giov4 7116333bd5 + fixed @ not returning the correct arena name
+ code cleaning
2020-10-20 21:28:53 +02:00
Giov4 ad14f0107f + @ instead of arena name to get the one you're stading in
+ arena lib 4.0 timers
+ code cleaning
2020-10-20 21:00:34 +02:00
Giov4 7b1dd57447 + Uploaded correct textures 2020-10-19 17:38:07 +02:00
Giov4 e1f75c377b + New textures (they're bad anyway but at least they're better) 2020-10-19 17:36:21 +02:00
Giov4 8834425f3b + I'm dumb, treasures system fixed 2020-10-19 17:00:58 +02:00
Giov4 a3374c19a7 + Code cleaning 2020-10-19 16:36:26 +02:00
Giov4 4c9b044b43 + Loading arena mapblocks in loading phase
+ Code cleaning
2020-10-19 16:24:18 +02:00
Giov4 2639ace197 + Restoring player's speed on_quit
+ Glass cage system fixes
2020-10-16 19:11:31 +02:00
Giov4 c2265c1efc + Optimized treasures sorting
+ Removed unused function
2020-10-15 21:00:18 +02:00
Giov4 fa68f4db40 + Code cleaning
+ Bug fixes
+ Cmds corrections
+ Comments corrections
2020-10-11 15:22:54 +02:00
Giov4 a9784285e8 + Removing/adding permissions on join, in case the server crashes 2020-10-01 20:45:16 +02:00
Giov4 49a32b79c1 + Grammar corrections 2020-10-01 20:32:05 +02:00
Giov4 15245337a2 + Build permission setting
+ Removing drops when resetting a map
+ removeitem and removetreasure hand cmds
+ clearmapstable debug cmd
+ Translations corrections and cmd messages improved
+ Code cleaning
2020-10-01 19:54:39 +02:00
Giov4 6a17c99ca6 + glass cage is now generated after 0.1 seconds 2020-09-30 22:53:42 +02:00
Giov4 bb835c7ea7 + FIXED: chests resetting on match start 2020-09-30 19:31:56 +02:00
Giov4 8b9bb5da43 + Reworked map reset system, it doesn't use schematics anymore
- Support for exschem
2020-09-29 21:30:53 +02:00
Giov4 09f80ee938 Removed old supported mods folders 2020-09-29 18:28:22 +00:00
Giov4 0ab898f1c2 - Useless settings
+ The player gets teleported back in the glass after 1 second
+ Exschem failed to load/save schematic log
+ Set default player speed to 1.5
2020-09-24 19:00:35 +02:00
Giov4 5c520052f5 + CRASHFIX: when the arena kits property had an invalid kit
+ Modified additem hand msg
+ Improved the code spawning the glass around the player
+ Fixed: noclip now gets given back on_celebration and on_death too
2020-09-23 16:45:32 +02:00
Giov4 d34a4cce29 + CRASHFIX: removeitem made the server crash
+ resetkit cmd
+ Now the glass around the player is automatically removed
  when the match starts
2020-09-23 14:55:12 +02:00
Giov4 4efeafcf70 Fixed: schematic weren't created 2020-09-22 18:19:47 +02:00
Giov4 9c3d944fac + Set jump to 0 while the match is loading
+ Fixed mt schematic placemente not working
2020-09-22 17:52:34 +02:00
Giov4 061bd99c97 + FIXED: exschem not working
+ circle of glass around the player when the match starts
2020-09-22 16:51:26 +02:00
Giov4 f9b155dc41 + CRASHFIX: when 3d_armor wasn't installed
+ remove_armors_on_join setting
+ addchest checks if the chest already exists
+ removechest can be used looking at the chest
2020-09-22 16:32:27 +02:00
Giov4 6266cbb998 + Renamed exschem init in init_exschem
+ Added support to enderpearl mod
2020-09-22 14:42:49 +02:00
Giov4 a8fcc71f58 + Fixed load time not working
+ If a player had the noclip permission before entering
  the arena it will be restored when the match ends
+ Added a glass node under the player's feet when the arena's
  loading
2020-09-22 13:52:31 +02:00
Giov4 132df44710 Reapplied commit bb2817a1
(removed noclip from players)
2020-09-21 22:33:13 +02:00
Giov4 0ffa66a73d Removed suicide message 2020-09-21 22:01:39 +02:00
Giov4 8656affe36 + Set gravity to 0 during load time 2020-09-21 21:58:34 +02:00
Giov4 7e2ba29a41 - Hotbar 3d_armor implementation
+ Exschem support
2020-09-21 21:48:58 +02:00
Zughy 6f4da65107 Suicide message removed | armors are removed only on on_end 2020-09-21 17:49:21 +02:00
Zughy bb2817a141 Preventing players with noclip to fall like idiots when placing blocks 2020-09-21 14:03:05 +02:00
Giov4 4de9f2358f Removed fall damage 2020-09-20 22:10:31 +02:00
Giov4 42e6ef560b Merge branch 'master' of gitlab.com:zughy-friends-minetest/skywars into master 2020-09-20 14:24:48 +02:00
Giov4 dc03d0476b + FIXED: removetreasures not working properly
+ Balanced rarirty system
+ Code cleaning
2020-09-20 14:24:12 +02:00
Giov4 5be8481c0f Deleted old map_create.lua 2020-09-19 20:43:07 +00:00
Giov4 3b9b387280 + Now the treasures have an id property instead of using their position
in the table
+ Fixed: id generation system
+ Renamed skywars.remove_all with skywars.remove_all_armor
+ Fixed: player used to slide when he/she got teleported in the arena
+ Now the armor gets removed even on /forceend
2020-09-19 18:46:17 +02:00
Giov4 533337dc82 Added addchest pos to the help section 2020-09-19 15:33:27 +02:00
Giov4 265241a3c7 + CRASHFIX: If a chest couldn't spawn any treasure the game freezed
+ Reworked rarity system, now the range is from 1 to 10 and the rarity
  gap is handled by the mod
+ Now it's possible to equip an armor from on_place too
+ BUGFIX: Chests id weren't generated properly
+ Now addchest takes the position of the node the player's looking at
  (the old cmd is now callded "addchest pos")
+ Help section corrected
+ Code cleaning
2020-09-19 15:31:25 +02:00