Skip to content
Snippets Groups Projects

MultiBrand (ready for review)

Merged lowercasedonkey requested to merge lowercasedonkey/fc-pregmod:MultiBrand into pregmod-master

Since I've started branding, I'd like to allow slaves to be branded in more than one place. It seems to make sense, especially when branding them a second time currently gets rid of the first brand.

This mr allows multiple brands, and removal of any of them, thanks to objects (and ez) edit: snip cry for help to ez, thanks ez!

look_at_all_these_brands

slaveInteract:

wakoma

I would also like to thank Wakoma, who has suffered more in the multiverse than anyone could ever know.

Edited by lowercasedonkey

Merge request reports

Merged by PregmodderPregmodder 5 years ago (May 31, 2019 11:08pm UTC)

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • lowercasedonkey resolved all discussions

    resolved all discussions

    • Resolved by ezsh

      @ezsh If you're still on, another quick one for you. And thanks again for your help.

      <<if $activeSlave.brand != 0>>
      	<br>
      	<<for _brandName, _brand range $activeSlave.brand>>
      		<<if _brand == 0>>
      			<<continue>>
      		<<else>>
      			$His _brandName is marked with _brand:
      			<<capture _brandName>>
      				<<link "Remove Brand">>
      					<<set $brandApplied = 0>>
      					<<set $activeSlave.brand.deleteAt(_brandName)>>
      					<<run cashX(forceNeg($surgeryCost), "slaveSurgery", $activeSlave)>>
      					<<set $degradation -= 10>>
      					<<goto "Body Modification">>
      				<</link>>
      			<</capture>>
      			<br>
      		<</if>>
      	<</for>>
      <<else>>
      	$His skin is unmarked.
      <</if>>

      This link always comes back with Error: <<set>>: bad evaluation: State.variables.activeSlave.brand.deleteAt is not a function. Any idea why?

      Edited by lowercasedonkey
  • lowercasedonkey added 2 commits

    added 2 commits

    Compare with previous version

  • ezsh
  • added 1 commit

    Compare with previous version

  • lowercasedonkey resolved all discussions

    resolved all discussions

  • ezsh
  • added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • lowercasedonkey resolved all discussions

    resolved all discussions

  • lowercasedonkey added 2 commits

    added 2 commits

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading