![]() |
#1 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,481
Donated: $60
![]() ![]() |
Dumb Sil questions
First of an occasional series.
Despite the fact that I'm doing a rewrite of Sil, I haven't played a huge amount or got very deep. So sometimes I see stuff in the code that tells me something surprising about the gameplay, and I'd like a sanity check on whether it is indeed what happens. First question - do Shovels/Mattocks of Belegost ever appear? This is Sil 1.3.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#2 |
Swordsman
Join Date: Mar 2016
Posts: 462
![]() |
Mattocks yes. Shovels no.
http://angband.oook.cz/ladder-show.php?id=23471 is one of the more recent Sil 1.3 dumps to contain one but they show up in dumps not infrequently as endgame gear. Shovels I am going off my knowledge of the configuration files as negatives are less easy to prove. |
![]() |
![]() |
![]() |
#3 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,481
Donated: $60
![]() ![]() |
So this makes perfect sense in Sil-Q, where
Code:
/* The "sval" codes for TV_DIGGING */ #define SV_SHOVEL 1 #define SV_MATTOCK 3 Code:
N:51:of Belegost W:0:1:0:1000 C:0:0:0:0:0:0:1 T:20:3:3 Code:
N:51:of Belegost W:0:1:0:1000 C:0:0:0:0:0:0:1 T:20:2:3 Code:
#define SV_SHOVEL 1 #define SV_MATTOCK 7 I guess I'm missing something; won't be the first time.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#4 | |
Veteran
Join Date: Oct 2011
Location: Toronto, Canada
Posts: 2,400
![]() |
Quote:
__________________
Glaurung, Father of the Dragons says, 'You cannot avoid the ballyhack.' |
|
![]() |
![]() |
![]() |
#5 | |
Swordsman
Join Date: Mar 2016
Posts: 462
![]() |
Quote:
In any case actual object generation is handled via the values in object.txt and the defines are irrelevant for it. The defines exist to allow various special behaviour attached to the svals and tvals, but I don't think there is any such attached to shovels or mattocks, only to their parent digger type. Your main weapon in dealing with this codebase is grep - it should be easy to determine if these defines are used anywhere. |
|
![]() |
![]() |
![]() |
#6 | |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,481
Donated: $60
![]() ![]() |
Quote:
![]() And yes, I am using grep *a lot*
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
|
![]() |
![]() |
![]() |
#7 |
Veteran
Join Date: Oct 2011
Location: Toronto, Canada
Posts: 2,400
![]() |
Have you tried implementing the noise/scent "flows" yet? Because that looks like it would be unfun. Although I guess Angband maintainers have different notions of fun.
__________________
Glaurung, Father of the Dragons says, 'You cannot avoid the ballyhack.' |
![]() |
![]() |
![]() |
#8 | |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,481
Donated: $60
![]() ![]() |
Quote:
![]() Least fun was smithing (not fully done yet).
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
|
![]() |
![]() |
![]() |
#9 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,481
Donated: $60
![]() ![]() |
Next question: Bane ability.
Do you choose what you're a bane of when you take the ability, and can you ever change? EDIT: I now believe you make an irrevocable choice when you take the ability, but please tell me if I'm wrong.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. Last edited by Nick; November 20, 2022 at 20:23. Reason: More information |
![]() |
![]() |
![]() |
#10 | |
Veteran
Join Date: Oct 2011
Location: Toronto, Canada
Posts: 2,400
![]() |
Quote:
You can't change it once you've made your choice.
__________________
Glaurung, Father of the Dragons says, 'You cannot avoid the ballyhack.' |
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
A thread for dumb questions | Angdrim | Vanilla | 80 | November 6, 2021 02:21 |
noobery (dumb questions) | Kneller | Sil | 22 | April 18, 2014 10:04 |
Tell me it's a dumb idea | Antoine | Variants | 14 | June 17, 2012 12:58 |
You might be a dumb fighter if... | slashme | Vanilla | 8 | February 27, 2008 17:41 |
I pulled a Dumb one | Shadow Knight | AAR | 37 | February 21, 2008 21:34 |