Time |
Nick |
Message |
00:51 |
cy1 |
yo celeron55. no way in Lua scripts to get armor groups, or otherwise calculate damage to be inflicted! |
00:53 |
cy1 |
no way in the C++ to get the armor groups either! This has got to be my misunderstanding... |
00:55 |
cy1 |
ok it's an itemgrouplist and the punch in tools has to access it somehow... |
00:57 |
cy1 |
ok, so you can punch a LuaEntitySAO, and that's the... only way to get punch damage? |
01:00 |
cy1 |
ok I think I got it figured out |
01:00 |
cy1 |
sorry |
01:11 |
cy1 |
yeah, use player:punch to damage a player, is the only way to take into effect armor. player:set_hp ain't cuttin it |
01:25 |
cy1 |
... |
01:26 |
cy1 |
scriptapi.cpp:2539 |
01:26 |
cy1 |
puncher->punch(dir, &toolcap, puncher, time_from_last_punch); |
01:26 |
cy1 |
puncher gets punched by puncher? |
01:26 |
cy1 |
should be co->punch(... |
01:27 |
cy1 |
and punch should be named "getPunchedBy" or something |
01:28 |
cy1 |
or "onPunch" |
03:28 |
|
SpeedProg joined #minetest-dev |
05:26 |
|
cornernote joined #minetest-dev |
05:26 |
cornernote |
can we please have a forum section for Games ? |
06:26 |
|
ecube joined #minetest-dev |
06:55 |
|
EdB joined #minetest-dev |
09:25 |
|
Calinou joined #minetest-dev |
11:34 |
|
nyuszika7h joined #minetest-dev |
11:53 |
|
EdB joined #minetest-dev |
13:32 |
|
hmmmm joined #minetest-dev |
14:36 |
|
Mikeonline joined #minetest-dev |
14:36 |
|
Mikeonline joined #minetest-dev |
14:44 |
|
hmmmmmm joined #minetest-dev |
15:03 |
|
hmmmm joined #minetest-dev |
15:10 |
|
hmmmmmm joined #minetest-dev |
15:13 |
|
hmmmm joined #minetest-dev |
16:06 |
|
SpeedProg joined #minetest-dev |
16:06 |
|
rubenwardy joined #minetest-dev |
16:23 |
|
Calinou joined #minetest-dev |
16:26 |
|
celeron55 joined #minetest-dev |
17:31 |
|
cornernote_ joined #minetest-dev |
18:32 |
|
nyuszika7h joined #minetest-dev |
18:35 |
|
nyan-cat joined #minetest-dev |
18:48 |
|
SpeedProg joined #minetest-dev |
18:49 |
|
pfaff joined #minetest-dev |
19:30 |
|
nyuszika7h joined #minetest-dev |
20:15 |
|
nyuszika7h joined #minetest-dev |
21:01 |
|
loggingbot joined #minetest-dev |
21:01 |
|
Topic for #minetest-dev is now Minetest core development and maintenance. Chit-chat goes to #minetest-delta. Consider this instead of /msg celeron55. http://irc.minetest.ru/minetest-dev/ http://minetest.net/wiki/doku.php?id=dev_index |
21:35 |
|
celeron55 joined #minetest-dev |
21:43 |
|
celeron55_ joined #minetest-dev |
22:19 |
|
nyuszika7h joined #minetest-dev |