Beispiel #1
0
def hideskilltitle(socket, command, arguments):
    if getbool("General", "ShowSkillTitles", True):
        pre = "disabled"
        if socket.player.hastag("hideskilltitle"):
            socket.player.deltag("hideskilltitle")
        else:
            socket.player.settag("hideskilltitle", 1)
            pre = "enabled"
        socket.sysmessage("HideSkillTitle is now " + pre + "!")
def hideskilltitle( socket, command, arguments ):
	if getbool( "General", "ShowSkillTitles", True ):
		pre = "disabled"
		if socket.player.hastag( "hideskilltitle" ):
			socket.player.deltag( "hideskilltitle" )
		else:
			socket.player.settag( "hideskilltitle", 1 )
			pre = "enabled"
		socket.sysmessage( "HideSkillTitle is now " + pre + "!" )
Beispiel #3
0
#   )      (\_     # WOLFPACK 13.0.0 Scripts                    #
#  ((    _/{  "-;  # Created by: khpae                          #
#   )).-' {{ ;'`   # Revised by: Incanus                        #
#  ( (  ;._ \\ ctr # Last Modification: Created                 #
#################################################################

from wolfpack import console
from wolfpack.consts import *
from wolfpack import properties, settings, getdefinition
from math import ceil
from system.makemenus import CraftItemAction, MakeMenu, findmenu, generateNamefromDef
from wolfpack.utilities import hex2dec, tobackpack, tr
from wolfpack.properties import itemcheck, fromitem

extended_carpentry = int(
    settings.getbool("General", "Extended Carpentry", False, True))

if extended_carpentry:
    WOOD = [
        [
            tr('Beech Wood'), BOWCRAFT, 0,
            ['1bd7', '1bda', '1bdd', '1bde', '1bdf', '1be0', '1be1', '1be2'],
            0, 'beech'
        ],
        [
            tr('Apple Wood'), BOWCRAFT, 300, ['board_apple', 'log_apple'],
            1748, 'apple'
        ],
        [
            tr('Peach Wood'), BOWCRAFT, 350, ['board_peach', 'log_peach'],
            1856, 'peach'
#################################################################
#   )      (\_     # WOLFPACK 13.0.0 Scripts                    #
#  ((    _/{  "-;  # Created by: khpae                          #
#   )).-' {{ ;'`   # Revised by: Incanus                        #
#  ( (  ;._ \\ ctr # Last Modification: Created                 #
#################################################################

from wolfpack import console
from wolfpack.consts import *
from wolfpack import properties, settings, getdefinition
from math import ceil
from system.makemenus import CraftItemAction, MakeMenu, findmenu, generateNamefromDef
from wolfpack.utilities import hex2dec, tobackpack, tr
from wolfpack.properties import itemcheck, fromitem

extended_carpentry = int( settings.getbool("General", "Extended Carpentry", False, True) )

if extended_carpentry:
	WOOD = [
			[tr('Beech Wood'), BOWCRAFT, 0, ['1bd7', '1bda', '1bdd', '1bde', '1bdf', '1be0', '1be1', '1be2'], 0, 'beech'],
			[tr('Apple Wood'), BOWCRAFT, 300, ['board_apple', 'log_apple'], 1748, 'apple'],
			[tr('Peach Wood'), BOWCRAFT, 350, ['board_peach', 'log_peach'], 1856, 'peach'],
			[tr('Pear Wood'), BOWCRAFT, 400, ['board_pear', 'log_pear'], 1002, 'pear'],
			[tr('Cedar Wood'), BOWCRAFT, 450, ['board_cedar', 'log_cedar'], 2107, 'cedar'],
			[tr('Willow Wood'), BOWCRAFT, 500, ['board_willow', 'log_willow'], 1513, 'willow'],
			[tr('Cypress Wood'), BOWCRAFT, 550, ['board_cypress', 'log_cypress'], 2413, 'cypress'],
			[tr('Oak Wood'), BOWCRAFT, 600, ['board_oak', 'log_oak'], 1049, 'oak'],
			[tr('Walnut Wood'), BOWCRAFT, 650, ['board_walnut', 'log_walnut'], 1839, 'walnut'],
			[tr('Yew Wood'), BOWCRAFT, 700, ['board_yew', 'log_yew'], 1502, 'yew'],
			[tr('Tropical Wood'), BOWCRAFT, 750, ['board_tropical', 'log_tropical'], 1889, 'tropical']
	]