<feed xmlns='http://www.w3.org/2005/Atom'>
<title>manaserv.git/example/scripts/maps, branch abilities</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ablu/public_git/manaserv.git/'/>
<entry>
<title>[Abilities] Removed the old autoattack system</title>
<updated>2013-05-08T12:02:51+00:00</updated>
<author>
<name>Erik Schilling</name>
<email>ablu.erikschilling@googlemail.com</email>
</author>
<published>2013-04-27T19:09:23+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ablu/public_git/manaserv.git/commit/?id=cec65058123f710643290c13b7f2b0512b878381'/>
<id>cec65058123f710643290c13b7f2b0512b878381</id>
<content type='text'>
As a side effect i had to remove the monster attack AI for now. I will
readd this as next thing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As a side effect i had to remove the monster attack AI for now. I will
readd this as next thing.
</pre>
</div>
</content>
</entry>
<entry>
<title>Made member function tables available as a globals</title>
<updated>2013-05-03T10:56:29+00:00</updated>
<author>
<name>Thorbjørn Lindeijer</name>
<email>thorbjorn@lindeijer.nl</email>
</author>
<published>2013-05-03T10:56:16+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ablu/public_git/manaserv.git/commit/?id=eb9fdd6852fced4ca9125b93585b95eb319dce18'/>
<id>eb9fdd6852fced4ca9125b93585b95eb319dce18</id>
<content type='text'>
This way the scripts can add or replace existing member functions, which
can be useful. As demonstration chr_money and chr_money_change are now
added as Entity.money and Entity.change_money.

Also fixed the banker to use ask_number instead of ask_integer (I had
decided to rename this and apparently forgot the banker).

Mantis-issue: 503
Reviewed-by: Ablu
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This way the scripts can add or replace existing member functions, which
can be useful. As demonstration chr_money and chr_money_change are now
added as Entity.money and Entity.change_money.

Also fixed the banker to use ask_number instead of ask_integer (I had
decided to rename this and apparently forgot the banker).

Mantis-issue: 503
Reviewed-by: Ablu
</pre>
</div>
</content>
</entry>
<entry>
<title>Moved functions to entity members where appropriate</title>
<updated>2013-04-15T19:24:55+00:00</updated>
<author>
<name>Thorbjørn Lindeijer</name>
<email>thorbjorn@lindeijer.nl</email>
</author>
<published>2013-04-15T19:24:55+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ablu/public_git/manaserv.git/commit/?id=ef4175cdfae6a6981738e15cb0009d8e47ed7c80'/>
<id>ef4175cdfae6a6981738e15cb0009d8e47ed7c80</id>
<content type='text'>
Some functions were skipped for now because they may need a new name
or change of behavior. Changes:

    chr_warp                        entity:warp
    chr_get_inventory               entity:inventory
    chr_inv_change                  entity:inv_change
    chr_inv_count                   entity:inv_count
    chr_get_equipment               entity:equipment
    chr_equip_slot                  entity:equip_slot
    chr_equip_item                  entity:equip_item
    chr_unequip_slot                entity:unequip_slot
    chr_unequip_item                entity:unequip_item
    chr_get_level                   entity:level
    chr_get_exp                     entity:xp
    chr_give_exp                    entity:give_xp
    chr_get_rights                  entity:rights
    chr_set_hair_style              entity:set_hair_style
    chr_get_hair_style              entity:hair_style
    chr_set_hair_color              entity:set_hair_color
    chr_get_hair_color              entity:hair_color
    chr_get_kill_count              entity:kill_count
    chr_give_special                entity:give_special
    chr_has_special                 entity:has_special
    chr_take_special                entity:take_special
    chr_set_special_recharge_speed  entity:set_special_recharge_speed
    chr_get_special_recharge_speed  entity:special_recharge_speed
    chr_set_special_mana            entity:set_special_mana
    chr_get_special_mana            entity:special_mana
    chr_kick                        entity:kick
    exp_for_level                   xp_for_level
    monster_get_id                  entity:monster_id
    monster_change_anger            entity:change_anger
    monster_drop_anger              entity:drop_anger
    monster_get_angerlist           entity:angerlist
    being_apply_status              entity:apply_status
    being_remove_status             entity:remove_status
    being_has_status                entity:has_status
    being_set_status_time           entity:set_status_time
    being_get_status_time           entity:status_time
    being_get_gender                entity:gender
    being_set_gender                entity:set_gender
    being_type                      entity:type
    being_walk                      entity:walk
    being_say                       entity:say
    being_damage                    entity:damage
    being_heal                      entity:heal
    being_get_name                  entity:name
    being_get_action                entity:action
    being_set_action                entity:set_action
    being_get_direction             entity:direction
    being_set_direction             entity:set_direction
    being_apply_attribute_modifier  entity:apply_attribute_modifier
    being_remove_attribute_modifier entity:remove_attribute_modifier
    being_set_base_attribute        entity:set_base_attribute
    being_get_modified_attribute    entity:modified_attribute
    being_get_base_attribute        entity:base_attribute
    being_set_walkmask              entity:set_walkmask
    being_get_walkmask              entity:walkmask
    being_get_mapid                 entity:mapid
    chat_message                    entity:message
    being_register                  entity:register
    chr_shake_screen                entity:shake_screen
    chr_create_text_particle        entity:show_text_particle
    -                               entity:position
    posX                            entity:x
    posY                            entity:y
    monster_get_name                monsterclass:name
    item_get_name                   itemclass:name
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some functions were skipped for now because they may need a new name
or change of behavior. Changes:

    chr_warp                        entity:warp
    chr_get_inventory               entity:inventory
    chr_inv_change                  entity:inv_change
    chr_inv_count                   entity:inv_count
    chr_get_equipment               entity:equipment
    chr_equip_slot                  entity:equip_slot
    chr_equip_item                  entity:equip_item
    chr_unequip_slot                entity:unequip_slot
    chr_unequip_item                entity:unequip_item
    chr_get_level                   entity:level
    chr_get_exp                     entity:xp
    chr_give_exp                    entity:give_xp
    chr_get_rights                  entity:rights
    chr_set_hair_style              entity:set_hair_style
    chr_get_hair_style              entity:hair_style
    chr_set_hair_color              entity:set_hair_color
    chr_get_hair_color              entity:hair_color
    chr_get_kill_count              entity:kill_count
    chr_give_special                entity:give_special
    chr_has_special                 entity:has_special
    chr_take_special                entity:take_special
    chr_set_special_recharge_speed  entity:set_special_recharge_speed
    chr_get_special_recharge_speed  entity:special_recharge_speed
    chr_set_special_mana            entity:set_special_mana
    chr_get_special_mana            entity:special_mana
    chr_kick                        entity:kick
    exp_for_level                   xp_for_level
    monster_get_id                  entity:monster_id
    monster_change_anger            entity:change_anger
    monster_drop_anger              entity:drop_anger
    monster_get_angerlist           entity:angerlist
    being_apply_status              entity:apply_status
    being_remove_status             entity:remove_status
    being_has_status                entity:has_status
    being_set_status_time           entity:set_status_time
    being_get_status_time           entity:status_time
    being_get_gender                entity:gender
    being_set_gender                entity:set_gender
    being_type                      entity:type
    being_walk                      entity:walk
    being_say                       entity:say
    being_damage                    entity:damage
    being_heal                      entity:heal
    being_get_name                  entity:name
    being_get_action                entity:action
    being_set_action                entity:set_action
    being_get_direction             entity:direction
    being_set_direction             entity:set_direction
    being_apply_attribute_modifier  entity:apply_attribute_modifier
    being_remove_attribute_modifier entity:remove_attribute_modifier
    being_set_base_attribute        entity:set_base_attribute
    being_get_modified_attribute    entity:modified_attribute
    being_get_base_attribute        entity:base_attribute
    being_set_walkmask              entity:set_walkmask
    being_get_walkmask              entity:walkmask
    being_get_mapid                 entity:mapid
    chat_message                    entity:message
    being_register                  entity:register
    chr_shake_screen                entity:shake_screen
    chr_create_text_particle        entity:show_text_particle
    -                               entity:position
    posX                            entity:x
    posY                            entity:y
    monster_get_name                monsterclass:name
    item_get_name                   itemclass:name
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplified some script function names</title>
<updated>2013-04-14T13:41:33+00:00</updated>
<author>
<name>Thorbjørn Lindeijer</name>
<email>thorbjorn@lindeijer.nl</email>
</author>
<published>2013-04-14T13:41:33+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ablu/public_git/manaserv.git/commit/?id=0f1449567d5a2ccab9ff6fdc9975150299482834'/>
<id>0f1449567d5a2ccab9ff6fdc9975150299482834</id>
<content type='text'>
npc_message     -&gt; say
npc_choice      -&gt; ask
npc_ask_integer -&gt; ask_number
npc_ask_string  -&gt; ask_string
npc_trade       -&gt; trade
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
npc_message     -&gt; say
npc_choice      -&gt; ask
npc_ask_integer -&gt; ask_number
npc_ask_string  -&gt; ask_string
npc_trade       -&gt; trade
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed NPC and character parameters from NPC functions</title>
<updated>2013-04-14T13:10:06+00:00</updated>
<author>
<name>Thorbjørn Lindeijer</name>
<email>thorbjorn@lindeijer.nl</email>
</author>
<published>2013-04-14T13:10:06+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ablu/public_git/manaserv.git/commit/?id=080ddbe822b03416934a875b2d949e3afc84fb96'/>
<id>080ddbe822b03416934a875b2d949e3afc84fb96</id>
<content type='text'>
These functions can only be used in the context of a character talking
to an NPC, so these parameters can be deduced from that context rather
than passing them explicitly all the time.

Simplifies NPC scripting.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These functions can only be used in the context of a character talking
to an NPC, so these parameters can be deduced from that context rather
than passing them explicitly all the time.

Simplifies NPC scripting.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use a full user data for Entity references</title>
<updated>2013-04-14T09:15:35+00:00</updated>
<author>
<name>Thorbjørn Lindeijer</name>
<email>thorbjorn@lindeijer.nl</email>
</author>
<published>2013-04-14T09:15:35+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ablu/public_git/manaserv.git/commit/?id=3a132996f798dbf552ac858b06fa656b6790a501'/>
<id>3a132996f798dbf552ac858b06fa656b6790a501</id>
<content type='text'>
Only moved a single script function to a member for now, will do others
in a separate commit.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only moved a single script function to a member for now, will do others
in a separate commit.
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed loading of script files using the statusmanager</title>
<updated>2013-02-21T19:32:11+00:00</updated>
<author>
<name>Erik Schilling</name>
<email>ablu.erikschilling@googlemail.com</email>
</author>
<published>2013-02-21T07:33:49+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ablu/public_git/manaserv.git/commit/?id=f46037b4b32356e94cf8564bc9486b1b13d2dbda'/>
<id>f46037b4b32356e94cf8564bc9486b1b13d2dbda</id>
<content type='text'>
They are now required via the main.lua.
Also made Harmony giving you the plague in order to allow testing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They are now required via the main.lua.
Also made Harmony giving you the plague in order to allow testing.
</pre>
</div>
</content>
</entry>
<entry>
<title>Register Lua script API functions into the global namespace</title>
<updated>2012-03-11T18:27:32+00:00</updated>
<author>
<name>Thorbjørn Lindeijer</name>
<email>thorbjorn@lindeijer.nl</email>
</author>
<published>2012-03-11T17:16:16+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ablu/public_git/manaserv.git/commit/?id=5ff34fd2458dff28d664c90fb93f455231f8633c'/>
<id>5ff34fd2458dff28d664c90fb93f455231f8633c</id>
<content type='text'>
Scripts mostly execute the Mana script API, and it seems like just
unnecessary verbosity to refer to the 'mana' table all the time. This table
no longer exists now.

Reviewed-by: Erik Schilling
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Scripts mostly execute the Mana script API, and it seems like just
unnecessary verbosity to refer to the 'mana' table all the time. This table
no longer exists now.

Reviewed-by: Erik Schilling
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed the create_npc wrapper and the last two NPC callbacks</title>
<updated>2012-03-11T15:56:56+00:00</updated>
<author>
<name>Thorbjørn Lindeijer</name>
<email>thorbjorn@lindeijer.nl</email>
</author>
<published>2012-03-10T22:38:36+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ablu/public_git/manaserv.git/commit/?id=b822dcee52d15d41c4186a250e73b85b16c9dc39'/>
<id>b822dcee52d15d41c4186a250e73b85b16c9dc39</id>
<content type='text'>
When creating an NPC, you now provide its optional talk and update functions
directly rather than them being stored in a table on the Lua side and then
called in response to a global callback.

Also fixed an issue with a missing gender parameter to the delayed NPC
creation callback used by NPCs defined on the map (found by Erik while
reviewing this patch).

Reviewed-by: Erik Schilling
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When creating an NPC, you now provide its optional talk and update functions
directly rather than them being stored in a table on the Lua side and then
called in response to a global callback.

Also fixed an issue with a missing gender parameter to the delayed NPC
creation callback used by NPCs defined on the map (found by Erik while
reviewing this patch).

Reviewed-by: Erik Schilling
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed deprecated NPC helper functions</title>
<updated>2012-03-11T15:56:47+00:00</updated>
<author>
<name>Thorbjørn Lindeijer</name>
<email>thorbjorn@lindeijer.nl</email>
</author>
<published>2012-03-10T22:20:44+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ablu/public_git/manaserv.git/commit/?id=2dd3c5c06978584e3e076609554f225ffbabd3e2'/>
<id>2dd3c5c06978584e3e076609554f225ffbabd3e2</id>
<content type='text'>
Reviewed-by: Erik Schilling
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Erik Schilling
</pre>
</div>
</content>
</entry>
</feed>
