[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  Devote deity problem

Devote deity problem

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Pages: 1 2  

Posted by Goblin   (39 posts)  [Biography] bio
Date Sun 06 Jul 2003 02:52 PM (UTC)
Message
heya

ok i have this problem. on the smaug mud i am running : i have a level 5 character who is trying to devote to a god.

typing :

devote Eustathius

or to any other god gives the result :

No such deity holds weight on this world.

whats the problem here?

thanks
[Go to top] top

Posted by Rob Harper   (108 posts)  [Biography] bio
Date Reply #1 on Sun 06 Jul 2003 04:56 PM (UTC)
Message
did you create a deity? you actually have to go through a proccess to create a deity you dont just worship an imm.
[Go to top] top

Posted by Goblin   (39 posts)  [Biography] bio
Date Reply #2 on Sun 06 Jul 2003 05:53 PM (UTC)
Message
well when i type : help deity
it gives me a list of deities.

whats the command to create a diety please?
[Go to top] top

Posted by Goblin   (39 posts)  [Biography] bio
Date Reply #3 on Sun 06 Jul 2003 05:59 PM (UTC)
Message
ok im now using the command makedeity

what are the other commands to do with deities please. and how do i edit a deity?

thanks
[Go to top] top

Posted by Rob Harper   (108 posts)  [Biography] bio
Date Reply #4 on Sun 06 Jul 2003 06:10 PM (UTC)
Message
setdeity
[Go to top] top

Posted by Goblin   (39 posts)  [Biography] bio
Date Reply #5 on Sun 06 Jul 2003 06:15 PM (UTC)
Message
ok ive created all my deities, well actually what ive done is name for each of them and a filename for each of them.

i guess then i set the class,race, etc

is there a command to savedeity?
[Go to top] top

Posted by Goblin   (39 posts)  [Biography] bio
Date Reply #6 on Sun 06 Jul 2003 06:17 PM (UTC)
Message
Also..........say i put Warrior in as the class - then all warriors can worship that deity?

what about race........i dont want race restrictions. i want all races to be able to worship anyone (unless thier class restricts this).

thanks
[Go to top] top

Posted by Goblin   (39 posts)  [Biography] bio
Date Reply #7 on Sun 06 Jul 2003 06:22 PM (UTC)
Message
ok well i want to edit the files instead of using the ingame commands.

This is a deity file :

#DEITY
Filename Aalakab~
Name Aalakab~
Description ~
Alignment 0
Worshippers 0
Flee 0
Flee_npcrace 0
Flee_npcfoe 0
Kill 0
Kill_npcrace 0
Kill_npcfoe 0
Kill_magic 0
Sac 0
Bury_corpse 0
Aid_spell 0
Aid 0
Steal 0
Backstab 0
Die 0
Die_npcrace 0
Die_npcfoe 0
Spell_aid 0
Dig_corpse 0
Scorpse 0
Savatar 0
Sdeityobj 0
Srecall 0
Race 0
Class 0
Element 0
Sex 0
Affected 0
Npcrace 0
Npcfoe 0
Suscept 0
Race2 0
Susceptnum 0
Elementnum 0
Affectednum 0
Objstat 0
End

#END

how do i change things in there. eg say i wanted only Warriors to worship it. and every race is able to worship it?
[Go to top] top

Posted by Rob Harper   (108 posts)  [Biography] bio
Date Reply #8 on Sun 06 Jul 2003 06:33 PM (UTC)
Message
why not just use the in game setdeiety, it's easier for someone who doesnt know exactly what to put in the slots.
[Go to top] top

Posted by Goblin   (39 posts)  [Biography] bio
Date Reply #9 on Sun 06 Jul 2003 06:41 PM (UTC)
Message
um ok could you explain how i do that then.

when i type setdeity it gives me some help

but not alot!
[Go to top] top

Posted by Rob Harper   (108 posts)  [Biography] bio
Date Reply #10 on Sun 06 Jul 2003 06:51 PM (UTC)
Message
here you go bud didnt feel like typing much more, but taken from a help file

************************* Section 8 ******************************************
How to add new Deities
********************************************************************************
The first thing you need to do is create the deity file. This is done using
the makedeity command. So for example if you wanted a deity called Shaddai:
makedeity Shaddai
This creates the file and sets up some defaults and writes it to the list of
deities to load during bootup.

Then you use setdeity to setup the deity the way you would like it.

*filename -- This will change the filename of the deity file and will also
update the list of deities to loadup at bootup. To change a deity
file for the deity Shaddai you would use:
setdeity shaddai filename Shaddai.dty

*name -- This will change the name of the deity that everyone uses to devote
too, etc... For example to change the deity Shaddai to Nivek you
would use:
setdeity shaddai name Nivek

*description -- This is the Description that is given when a mortal uses the
deities <deity name> command. It can be changed by using the command
setdeity shaddai description
This will drop you into an editor and then you can work on it just like
you would a note or a room description.

*alignment -- This is the alignment of the deity, it affects several things,
first if a mortal supplicates a avatar, then the avatar is the same
alignment as the deity. Also if your alignment is too far off what
your deities is, then you will start lossing favor. To set a neutral
deity for example would be:
setdeity shaddai alignment 0

*worshippers -- This is how many people currently worship (are devoted) to the
deity. This number really doesn't need to be changed.

*npcfoe -- This is the # of the race that the deity "dislikes" so you get more
favour of killing a mob of this race. For example to set this deities
npcfoe to coder which lets say is race #4, you could do either:
setdeity shaddai npcfoe 4 OR
setdeity shaddai npcfoe coder

*susceptnum -- This sets the amount of favour needed otherwise, you get
set to any suscepts the deity has. For example if it was set to
500 and your favour was 400, you would be susceptible to whatever
this deities suscepts are.
setdeity shaddai susceptnum 500

*race -- If this is set then this deity only accepts worshippers of a certain
race. This too can be set by the name of the race or by the number.
So for example if you wanted the deity so only humans can devote to
it you would do:
setdeity shaddai race human
To clear this value set it to -1, like this:
setdeity shaddai race -1

*race2 -- If this is set 2 races can devote to this deity, but it will only be
checked if race is set as well. So if you wanted Shaddai deity to
have worshippers of humans AND dwarfs, you would do this:
setdeity shaddai race2 dwarf
Just like above to clear this flag set it to -1.

*npcrace -- This is similar to npcfoe, but you get a little less favour from
killing these than a npcfoe.
setdeity shaddai npcrace human

*class
*element
*sex
*affected
*suscept
*elementnum
*affectednum
*flee
*flee_npcrace
*kill
*kill_npcrace
*kill_magic
*die
*die_npcrace
*dig_corpse
*bury_corpse
*spell_aid
*steal
*backstab
*aid
*aid_spell
*sac
*kill_npcfoe
*die_npcfoe
*flee_npcfoe
*scorpse
*savatar
*sdeityobj
*srecall
*objstat
[Go to top] top

Posted by Goblin   (39 posts)  [Biography] bio
Date Reply #11 on Sun 06 Jul 2003 06:52 PM (UTC)
Message
ok cool thanks. where do i get help files like that?!?!?!?!
[Go to top] top

Posted by Rob Harper   (108 posts)  [Biography] bio
Date Reply #12 on Sun 06 Jul 2003 06:53 PM (UTC)
Message
your welcome, and the answer is somewhere in the documentation.
[Go to top] top

Posted by Goblin   (39 posts)  [Biography] bio
Date Reply #13 on Sun 06 Jul 2003 07:05 PM (UTC)
Message
nice answer.

ok well ive set

sex -1
class -1
race -1

hoping that it meant anyone of any race,sex and class could worship that deity.

i was wrong - it said it wont accept those of my race.

(i rebooted - sup wif that?)
[Go to top] top

Posted by Goblin   (39 posts)  [Biography] bio
Date Reply #14 on Sun 06 Jul 2003 07:14 PM (UTC)
Message
sok i worked it out. had to put -1 in as the race2 aswell.

and found the docs YAY!

thanks.
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


38,075 views.

This is page 1, subject is 2 pages long: 1 2  [Next page]

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]