tenplus1
|
bf79985730
|
harden spawn log message
|
2023-10-22 11:35:40 +01:00 |
|
tenplus1
|
ce47b81da5
|
mobs:add_mob() can now set mob texture
|
2023-10-15 11:25:20 +01:00 |
|
tenplus1
|
768ef84bd8
|
use api functions for riding mob
|
2023-10-13 08:31:55 +01:00 |
|
tenplus1
|
71e620eb0f
|
revert kb change
|
2023-10-12 08:23:41 +01:00 |
|
tenplus1
|
221029e857
|
add taming countdown infotext, fix knockback
|
2023-10-12 08:06:57 +01:00 |
|
tenplus1
|
e8adf9b244
|
only show breed infotext if mob can breed
|
2023-10-11 10:41:58 +01:00 |
|
tenplus1
|
457eb1838c
|
code tweaks
|
2023-10-08 16:44:42 +01:00 |
|
tenplus1
|
7f1ad09870
|
fix nil var
|
2023-10-08 07:41:06 +01:00 |
|
tenplus1
|
812f18430c
|
moved mob entities to use initial_properties
|
2023-10-07 12:13:07 +01:00 |
|
tenplus1
|
56f4eb4274
|
add missing prop checks, update WIP api
|
2023-10-05 14:05:41 +01:00 |
|
tenplus1
|
6172203e0e
|
change self.nametag to self._nametag (get_properties causing issue)
|
2023-10-05 12:56:15 +01:00 |
|
tenplus1
|
c173345135
|
use self.backup_properties instead of self.initial_properties
|
2023-10-05 11:54:44 +01:00 |
|
tenplus1
|
55bdc4c0a4
|
fix nametag glitch in add_mob
|
2023-10-04 17:16:22 +01:00 |
|
tenplus1
|
93e8d0f4fa
|
use get/set properties for entity settings
|
2023-10-04 17:00:03 +01:00 |
|
tenplus1
|
da54b9e141
|
backup existing vars into initial_properties for future compatibility
|
2023-09-30 11:30:51 +01:00 |
|
tenplus1
|
ca2758622c
|
tidy breed function
|
2023-09-27 12:24:13 +01:00 |
|
tenplus1
|
9f9a522ec7
|
Revert initial_properties change, breaks too many routines
|
2023-09-26 07:48:48 +01:00 |
|
tenplus1
|
55e07dbdd3
|
add default to visual_size
|
2023-09-25 13:16:23 +01:00 |
|
tenplus1
|
96e4d5190e
|
initial_properties #2
|
2023-09-23 13:42:23 +01:00 |
|
tenplus1
|
130d67a8f7
|
initial_properties update
|
2023-09-23 13:31:49 +01:00 |
|
tenplus1
|
7044e20382
|
fix typo
|
2023-08-17 07:30:28 +01:00 |
|
tenplus1
|
c48821df03
|
non-passive mobs fight back when attacked (thx fluxionary)
|
2023-08-16 09:00:35 +01:00 |
|
tenplus1
|
33c78e87d0
|
fix missing FS
|
2023-08-13 10:36:33 +01:00 |
|
tenplus1
|
3ca3d656cb
|
update translation (thanks Niklp)
|
2023-08-13 10:07:09 +01:00 |
|
tenplus1
|
131c932aa6
|
tweak for mineclone and 5.x
|
2023-08-09 13:08:54 +01:00 |
|
tenplus1
|
5e96602085
|
remove intllib
|
2023-08-08 16:58:57 +01:00 |
|
tenplus1
|
b1ad4451a7
|
add ":" to beginning of entity registration
|
2023-08-07 08:09:08 +01:00 |
|
tenplus1
|
af7eafc22c
|
tweak velocity changes
|
2023-08-05 18:10:06 +01:00 |
|
tenplus1
|
042130baca
|
added 'mob_log_spawn' setting to log mob spawning position.
|
2023-07-30 11:56:08 +01:00 |
|
tenplus1
|
07dce8208b
|
harden is_player checks
|
2023-07-26 17:43:40 +01:00 |
|
tenplus1
|
e2ee5c62c7
|
tidy compat
|
2023-07-26 14:15:03 +01:00 |
|
tenplus1
|
f31cf75b24
|
better MineClone2 compatibility for api, items and crafts
|
2023-07-26 13:43:06 +01:00 |
|
tenplus1
|
dcc702848f
|
can now add nodes to 'runaway_from' table
|
2023-07-15 08:58:18 +01:00 |
|
tenplus1
|
cc0798b617
|
add check to see what hit mob, player or entity for immune_to
|
2023-07-02 17:17:14 +01:00 |
|
tenplus1
|
e32d87c70d
|
add damage_per_second nil check
|
2023-06-13 07:58:17 +01:00 |
|
tenplus1
|
cf18cd43de
|
on_breed spawns child a little higher
|
2023-06-09 08:32:59 +01:00 |
|
tenplus1
|
70b562c371
|
remove htimer, tweak update_tag()
|
2023-06-07 08:21:34 +01:00 |
|
tenplus1
|
5f80d7a031
|
add mtobjid mod to optional dependencies, stop mob count going below 0
|
2023-06-06 08:49:45 +01:00 |
|
tenplus1
|
cc71ea4e95
|
tweak child textures when growing
|
2023-05-27 19:29:01 +01:00 |
|
tenplus1
|
b42f7c63c8
|
added check to be sure creatura mod enabled
|
2023-05-26 16:27:01 +01:00 |
|
tenplus1
|
05f0550876
|
monsters will always attack creatura mobs, anything else will defend it's owner if attacked.
|
2023-05-26 16:17:58 +01:00 |
|
tenplus1
|
194c9f7847
|
added 'mobs_attack_creatura' setting for monsters to attack Creatura mob mobs
|
2023-05-26 14:04:50 +01:00 |
|
tenplus1
|
267ee57837
|
fix jumping when on need to
|
2023-05-24 07:22:36 +01:00 |
|
tenplus1
|
b16eefa0ec
|
add 'mob_node_timer_interval' and 'mob_main_timer_interval' settings to handle function timings
|
2023-05-19 08:46:37 +01:00 |
|
tenplus1
|
29bc2f27f2
|
have separate get_nodes function for nodes around mob, update api.txt
|
2023-05-18 11:19:28 +01:00 |
|
tenplus1
|
1e3d26937e
|
tweak do_jump for better blockage checks
|
2023-05-18 08:53:08 +01:00 |
|
tenplus1
|
ce53afcfdb
|
when attacking dont call unecessary functions every step
|
2023-05-17 11:36:55 +01:00 |
|
tenplus1
|
14a3dc83e5
|
if max_light_damage is 16 then use natural light value to damage mob
|
2023-05-14 10:44:12 +01:00 |
|
tenplus1
|
9a5d4278ff
|
if min/max light set to 15, only kill mob with natural light
|
2023-05-02 08:35:12 +01:00 |
|
tenplus1
|
f5ccec9b60
|
better way to reset pause_timer with "stand" order
|
2023-04-27 10:21:31 +01:00 |
|
tenplus1
|
6af671997b
|
pause timer reset
|
2023-04-26 09:53:07 +01:00 |
|
tenplus1
|
eb6bc6e349
|
mobs ordered to "stand", fix knockback
|
2023-04-26 09:46:57 +01:00 |
|
tenplus1
|
ce9c30949c
|
fix group attack anim reset, tidy code
|
2023-04-26 09:16:38 +01:00 |
|
tenplus1
|
6cce24f04e
|
simplify yaw clamping
|
2023-04-25 12:54:54 +01:00 |
|
tenplus1
|
4bdd8eaa5f
|
2nd attempt at clamping yaw to stop spinny mobs
|
2023-04-23 16:34:35 +01:00 |
|
tenplus1
|
36a26d2d21
|
code tidy
|
2023-04-03 11:53:05 +01:00 |
|
tenplus1
|
6b9331064c
|
add staticdata clean function, update api.txt
|
2023-04-03 08:08:37 +01:00 |
|
tenplus1
|
407b2e7b56
|
reset parent movement after baby born
|
2023-03-31 14:14:43 +01:00 |
|
tenplus1
|
5e67163d09
|
fix flying mobs sinking into water
|
2023-03-28 14:11:30 +01:00 |
|
tenplus1
|
81f99931fc
|
fix nil check for on_spawn
|
2023-03-28 07:57:31 +01:00 |
|
tenplus1
|
d290062a33
|
fix friendly fire bug and add provide moveresult information to do_custom
|
2023-03-27 10:48:05 +01:00 |
|
tenplus1
|
cd4fb6f2a6
|
add friendly_fire mob setting for arrows (thx eschan145)
|
2023-03-26 08:31:40 +01:00 |
|
tenplus1
|
3bd2ee8129
|
code tidy, updated readme (thx eschan145)
|
2023-03-25 08:47:31 +00:00 |
|
tenplus1
|
076b9480b7
|
fix type and update readme
|
2023-03-17 10:30:26 +00:00 |
|
tenplus1
|
7e585b0bdc
|
add check for 'injured' animation
|
2023-03-13 11:52:59 +00:00 |
|
tenplus1
|
0c2ddab172
|
fix env timer issue
|
2023-03-13 11:24:52 +00:00 |
|
tenplus1
|
f4aae8894f
|
add mob_hit_effect switch so mob highlights when punched
|
2023-03-13 10:55:25 +00:00 |
|
tenplus1
|
c8e8401ac5
|
add mob_height_fix setting so it can be disabled.
|
2023-03-12 11:35:21 +00:00 |
|
tenplus1
|
733672127c
|
add animation nil check
|
2023-03-10 08:09:15 +00:00 |
|
tenplus1
|
59fe1dd976
|
add return true to on punch
|
2023-03-04 07:21:54 +00:00 |
|
tenplus1
|
d7ba911181
|
turn/animate mob on knockback, code tidy
|
2023-03-03 11:56:49 +00:00 |
|
tenplus1
|
924a545788
|
update pathfinding defaults to add settings (thx Bla)
|
2023-02-27 18:13:32 +00:00 |
|
tenplus1
|
61b544d493
|
better water avoidance and escape
|
2023-02-08 11:59:40 +00:00 |
|
tenplus1
|
bbcdc4b67d
|
fix variable error (thx Niklp)
|
2023-01-19 17:46:07 +00:00 |
|
tenplus1
|
bbd7a08591
|
clean aliased mob staticdata
|
2022-12-22 13:19:24 +00:00 |
|
tenplus1
|
86b6a1a950
|
check staticdata for egg capture
|
2022-12-13 12:33:11 +00:00 |
|
tenplus1
|
54cb8f487e
|
remove yaw clamping, causes mob jitters
|
2022-11-28 13:36:28 +00:00 |
|
tenplus1
|
4e963e6b90
|
update punch sound to cc0 version
|
2022-11-25 18:47:15 +00:00 |
|
tenplus1
|
5c9e057ad1
|
add ability to read 'looting_level' from tool definition and meta for extra drops
|
2022-11-15 10:39:59 +00:00 |
|
tenplus1
|
d4145ddd3d
|
tidy some luacheckrc warnings
|
2022-10-31 15:05:34 +00:00 |
|
tenplus1
|
33beec64dc
|
fix peaceful player check
|
2022-10-27 16:57:53 +01:00 |
|
tenplus1
|
088bdc5350
|
localise math.deg
|
2022-10-21 12:14:11 +01:00 |
|
tenplus1
|
c003c2e72b
|
fix smooth rotation jitters
|
2022-10-21 11:56:54 +01:00 |
|
tenplus1
|
1450b25ca4
|
mobs_class made global (be careful anyone changing this)
|
2022-10-15 08:50:27 +01:00 |
|
tenplus1
|
561903d075
|
revert node position (git gui test)
|
2022-09-30 08:32:50 +01:00 |
|
tenplus1
|
bf7ff7ab5f
|
fix node position
|
2022-09-30 08:31:30 +01:00 |
|
tenplus1
|
431d3844a6
|
tidy code
|
2022-09-29 14:15:21 +01:00 |
|
tenplus1
|
b4a8ce71c6
|
add damage_radius and texture to mobs:boom()
|
2022-09-22 08:04:58 +01:00 |
|
tenplus1
|
2935d1ee5d
|
have mobs jump slightly when grown to avoid being caught in floor
|
2022-09-18 11:17:58 +01:00 |
|
tenplus1
|
5bc547b333
|
tweak mod following to work better
|
2022-09-06 11:32:50 +01:00 |
|
tenplus1
|
bad1be5c5a
|
check pos/def for nil value in add_mob function
|
2022-09-03 16:13:41 +01:00 |
|
tenplus1
|
83f0b901a4
|
add self.messages field
|
2022-08-04 08:21:59 +01:00 |
|
tenplus1
|
e4ac59609a
|
add mob protection to infotext
|
2022-07-31 10:20:32 +01:00 |
|
tenplus1
|
7ac8506dda
|
add fallback node for is_node_dangerous
|
2022-07-29 18:52:28 +01:00 |
|
tenplus1
|
90df44aeaf
|
comment unused vars
|
2022-07-22 14:12:30 +01:00 |
|
tenplus1
|
25ab9591e4
|
add 'can_leap' setting to mob def, update api.txt
|
2022-07-12 08:37:38 +01:00 |
|
tenplus1
|
8e6fa64f2d
|
fix premature mob death and drops
|
2022-07-07 17:09:34 +01:00 |
|
tenplus1
|
ce7c4c1449
|
adjust mob count when using /clear_mobs
|
2022-07-04 11:00:52 +01:00 |
|
tenplus1
|
08dcdf382a
|
add /clear_mobs command
|
2022-07-04 10:43:28 +01:00 |
|
tenplus1
|
d2a4150dcb
|
extend mob reach when on top of player to fix issue
|
2022-06-28 08:08:35 +01:00 |
|