This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
skills:fishing [2018/04/06 17:53] karl Add real butter to the fish |
skills:fishing [2020/09/30 13:18] (current) ryo link to skills |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Skill Fishing == | ====== Skill Fishing == | ||
- | + | This skill is implemented since version 1.11.0 of the [[:server]] . \\ | |
- | This skill seems to be implemented since at least version 1.11 of the [[:server]] ; probably earlier. \\ | + | |
This skill is only available through a skill tool named "fishing pole" . \\ | This skill is only available through a skill tool named "fishing pole" . \\ | ||
The archetype name of the fishing pole is [[:items:skills:skill_tools:fishing_pole]] . | The archetype name of the fishing pole is [[:items:skills:skill_tools:fishing_pole]] . | ||
There is no treasure list, that contains fishing_pole, as there are for [[:items:skills:skill_tools:lockpicks]] and flint_and_steel, \\ | There is no treasure list, that contains fishing_pole, as there are for [[:items:skills:skill_tools:lockpicks]] and flint_and_steel, \\ | ||
- | making it unavailable to the average player as random find in dungeons and purchase-able in shops. \\ | + | making it unavailable to the average player as random find in dungeons. Fishing poles are available in one shop right now, Sargas's fine fishing supplies in Darcap.\\ |
A Dungeon Master can get himself such a fishing pole by the DM command [[:dm_commands#create]] : \\ | A Dungeon Master can get himself such a fishing pole by the DM command [[:dm_commands#create]] : \\ | ||
- | ''create 1 0 fishing_pole'' . | + | ''create 1 0 fishing_pole'' . \\ |
+ | Noteworthy though, that items with too much magic+ tend get negative weight. \\ | ||
+ | Items that weight 0 or less, are not pick-able any more, when dropped on the floor. \\ | ||
+ | +9 would be the maximum for enchanting a fishing pole in this case. | ||
The only archetype that contains some harvest-able fish is "shallow_sea" , which has a light-blue face, \\ | The only archetype that contains some harvest-able fish is "shallow_sea" , which has a light-blue face, \\ | ||
and is usually found at ocean's coasts on world maps. \\ | and is usually found at ocean's coasts on world maps. \\ | ||
All other water archetypes do not contain fish as treasures: lakes, rivers, ponds. | All other water archetypes do not contain fish as treasures: lakes, rivers, ponds. | ||
+ | ===== Apply == | ||
+ | Applying the fishing pole puts the fishing pole into the foreground of the range attack line \\ | ||
+ | in the [[:client]] as //Skill: fishing pole// ; to be fired then afterwards by [[:player_commands#Special bind's:|firekey]] + directionalkey . | ||
+ | |||
+ | Syntax : ''apply fishing pole'' | ||
===== Use Skill == | ===== Use Skill == | ||
Only useful on shallow_sea tiles, that do not block movement. \\ | Only useful on shallow_sea tiles, that do not block movement. \\ | ||
- | The shallow_sea archetype by default has ''move_block all'' set ( old //no_pass 1// ); \\ | + | The shallow_sea archetype by default has ''[[:dev:object_fields#move_block]] all'' set ( old //no_pass 1// ); \\ |
so only a DM is able to apply the use_skill command successfully. | so only a DM is able to apply the use_skill command successfully. | ||
- | Syntax : ''use_skill fishing'' | + | The fishing pole has to be applied beforehand, \\ |
+ | a fishing pole in the un-applied inventory does not get automatically applied. \\ | ||
+ | Using this skill without having applied the tool beforehand would print \\ | ||
+ | to the server's logfile : | ||
+ | >>18/04/07 14:26:54 [Error] do_harvest: tool fishing without harvest_[race|tool|speed] ( :?: BUG ? ) | ||
+ | |||
+ | Syntax : \\ | ||
+ | ''apply fishing pole'' \\ | ||
+ | ''use_skill fishing'' | ||
The shallow sea tiles provide fish as random treasure: \\ | The shallow sea tiles provide fish as random treasure: \\ | ||
Line 34: | Line 49: | ||
===== Ready Skill == | ===== Ready Skill == | ||
- | Sets the skill into the [[:characters:shoottype]] range foreground. | + | Sets the skill into the [[:characters:shoottype]] range foreground as //Skill: fishing// . |
This works also for a normal player, to fire the skill onto a direction of a bordering shallow_sea map tile. | This works also for a normal player, to fire the skill onto a direction of a bordering shallow_sea map tile. | ||
- | Syntax : ''ready_skill fishing'' | + | Readying this skill needs the fishing pole being applied beforehand to be of any usefulness. |
+ | |||
+ | Syntax : \\ | ||
+ | ''apply fishing pole'' \\ | ||
+ | ''ready_skill fishing'' | ||
===== Technical == | ===== Technical == | ||
+ | Fishing is a specialized skill of type [[dev:skills#sk_harvesting|harvesting]] | ||
+ | |||
The skill is internally called SK_HARVESTING : | The skill is internally called SK_HARVESTING : | ||
Line 47: | Line 68: | ||
* Function do_skill() in //server/server/skill-util.c// calls | * Function do_skill() in //server/server/skill-util.c// calls | ||
* do_harvest() in //server/server/c_misc.c// | * do_harvest() in //server/server/c_misc.c// | ||
- | |||
===== Versions == | ===== Versions == | ||
Line 53: | Line 73: | ||
This skill is unavailable to a normal player on the current [[:servers:Metalforge]] server v1.12 svn r17660 . | This skill is unavailable to a normal player on the current [[:servers:Metalforge]] server v1.12 svn r17660 . | ||
- | An entry from the CHANGES file of the arch package : | + | An entry from the [[:arch:changes_changelog|CHANGES]] file of the arch package : |
<WRAP important 60%> | <WRAP important 60%> | ||
food/fish.arc: Make the item fishing_pole work (this item is not found on any \\ | food/fish.arc: Make the item fishing_pole work (this item is not found on any \\ | ||
Line 61: | Line 81: | ||
See also Crossfire Traffic [[:crossfire_traffic#March 2009]] | See also Crossfire Traffic [[:crossfire_traffic#March 2009]] | ||
- | Server Version 1.50.0 seems to have some bug in the code preventing any fish as treasure in shallow_sea tiles. \\ | + | Server Version 1.50.0: Works. |
- | At least I get only "You can't fish anything here." from shallow_sea tiles. | + | |
Server Version 1.60.0: Works. | Server Version 1.60.0: Works. | ||
Server Version 1.70.0: Works. | Server Version 1.70.0: Works. | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Read Also == | ||
+ | |||
+ | See also the skills [[Use Magic Item]] \\ | ||
+ | and [[Lockpicking]] , [[Inscription]] , [[Praying]] , [[Wizardry]] for other skill tool deployments. | ||