Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old June 12, 2016, 17:10   #1
thedude
Rookie
 
Join Date: Dec 2014
Posts: 6
thedude is on a distinguished road
Question editing artifact list on macbook

Hey guys, first time poster...anyone know how to create artifacts or edit artifact list in macbook (OSX Yosemite)?

I can't open data file like I did on PC. Just need to figure out how to get to the code. Any help would be greatly appreciated.
thedude is offline   Reply With Quote
Old June 12, 2016, 19:51   #2
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 8,916
Derakon is on a distinguished road
Right-click on Angband.app, select "View Package Contents", and then go Contents -> Resources -> gamedata.
Derakon is offline   Reply With Quote
Old June 12, 2016, 23:56   #3
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,832
Donated: $60
Nick is on a distinguished road
Also, if you want to use a different artifacts.txt, you can either edit in place, or put an edited copy in Documents/Angband - the game checks there first.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old June 13, 2016, 17:25   #4
thedude
Rookie
 
Join Date: Dec 2014
Posts: 6
thedude is on a distinguished road
Quote:
Originally Posted by Derakon View Post
Right-click on Angband.app, select "View Package Contents", and then go Contents -> Resources -> gamedata.
Awesome! Thanks a lot!!
thedude is offline   Reply With Quote
Old June 13, 2016, 17:59   #5
thedude
Rookie
 
Join Date: Dec 2014
Posts: 6
thedude is on a distinguished road
Anyone know what it means when artifact says # F: DRAIN_MANA |

For example, in my version (Angband v3.0), all the The Rings of Power have # F: DRAIN_MANA | in artifact.txt file as their first 'flag'.

I'm assumed this meant drains your character's mana which would be unfortunate,
but didn't see it in list of characteristics when searched on http://angband.oook.cz/artifacts.php?q=Narya&t=&w=&v=
thedude is offline   Reply With Quote
Old June 13, 2016, 18:58   #6
Nomad
Knight
 
Nomad's Avatar
 
Join Date: Sep 2010
Location: England
Posts: 958
Nomad is on a distinguished road
Quote:
Originally Posted by thedude View Post
Anyone know what it means when artifact says # F: DRAIN_MANA
The '#' at the start of the line is the symbol used for adding comments to the code - it tells the game to just skip over that line and ignore it instead of trying to read it as code. So those are artifacts that used to have the DRAIN_MANA flag, but since that flag isn't in use anymore, that part of the code has been commented out so the game will just ignore it. (I guess the only reason it's even still there in the file is as a reminder of which artifacts used to have that flag in case it's ever brought back, but at the moment it's not doing anything and you could even delete those lines without it making any difference.)
Nomad is offline   Reply With Quote
Old June 24, 2016, 21:41   #7
thedude
Rookie
 
Join Date: Dec 2014
Posts: 6
thedude is on a distinguished road
Quote:
Originally Posted by Nomad View Post
The '#' at the start of the line is the symbol used for adding comments to the code - it tells the game to just skip over that line and ignore it instead of trying to read it as code. So those are artifacts that used to have the DRAIN_MANA flag, but since that flag isn't in use anymore, that part of the code has been commented out so the game will just ignore it. (I guess the only reason it's even still there in the file is as a reminder of which artifacts used to have that flag in case it's ever brought back, but at the moment it's not doing anything and you could even delete those lines without it making any difference.)
Oh excellent!, because all my characters (high elf mage) needs is another ring. Glad it won't be draining my mana.
thedude is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with editing p_class Malatar Vanilla 13 October 30, 2012 21:07
Angband, MacBook and numeric keypad relic Vanilla 8 July 24, 2011 21:51
How does one enable the roguelike keyset on a macbook? Svladd Cjelik Vanilla 1 June 25, 2011 03:06
Need solid walls, but ASCII play, macbook Arphod Vanilla 3 January 21, 2011 01:06
list experience value in Monster List view fbas Vanilla 1 November 24, 2010 20:51


All times are GMT +1. The time now is 04:50.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.