The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to change the Player SkillClass
Author Message
AmpereJoule
Journeyman
*

Posts: 59
Likes Given: 7
Likes Received: 0 in 0 posts
Joined: Dec 2012
Reputation: 0



Post: #55
RE: How to change the Player SkillClass
Hey guys, I think I made it! And it is working!

Thank you all.


PS: where can I change color_o_gold to other value?
PS 2: How can I make all the Vendors "[invul]"?

C:\sphere\scripts\npcs\Civilized\Tradesman, "human_chemist.scp":
Code:
[CHARDEF c_h_alchemist]
DEFNAME=C_H_ALCHEMIST
NAME=#NAMES_HUMANMALE the Alchemist
ID=C_MAN
DESIRES=i_gold,e_notoriety,t_magic
AVERSIONS=t_TRAP,t_eerie_stuff

TSPEECH=spk_human_prime
TSPEECH=jobalchemist
TSPEECH=spk_shopkeep
TSPEECH=spk_needs
TSPEECH=spk_rehello
TSPEECH=spk_human_default
TEVENTS=e_Human_HearUnk
TEVENTS=e_Human_ConvInit
TEVENTS=e_Human_Greet
TEVENTS=e_Human_Space
TEVENTS=e_Human_Needs
TEVENTS=e_Human_Refuse
TEVENTS=e_Human_Environ

CATEGORY=Civilized
SUBSECTION=Tradesmen
DESCRIPTION=Alchemist (male)

ON=@Create
    NPC=brain_vendor
    COLOR=colors_skin

    STR={36 50}
    DEX={36 50}
    INT={51 65}

    ALCHEMY={55.0 78.0}
    TasteID={55.0 78.0}
    WRESTLING={15.0 38.0}
    MAGICRESISTANCE={25.0 48.0}
    TACTICS={15.0 38.0}
    POISONING={35.0 55.0}

    ITEMNEWBIE=random_male_hair
    COLOR=colors_hair
    ITEMNEWBIE=random_facial_hair
    COLOR=match_hair

ON=@NPCRestock
    ITEM=RANDOM_LIGHT
    ITEM=i_shirt_plain
    COLOR=colors_all
    ITEM=random_pants
    COLOR=colors_all
    ITEM=i_robe
    COLOR=colors_red
    ITEM=random_shoes
    COLOR=colors_neutral
    ITEM=random_coin_purse
    SELL=VENDOR_S_ALCHEMIST
    BUY=VENDOR_B_ALCHEMIST

Where can I change the stock of the vendors?
(where can I change the "VENDOR_S_ALCHEMIST"
and "VENDOR_B_ALCHEMIST")
(This post was last modified: 01-10-2013 07:27 PM by AmpereJoule.)
01-10-2013 07:19 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How to change the Player SkillClass - AmpereJoule - 01-10-2013 07:19 PM

Forum Jump:


User(s) browsing this thread: 5 Guest(s)