drpedia_lite 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b3249a2dcd330e6e539650e3a835ad0aa607c861
4
- data.tar.gz: bba2ea3fd41f0be68f75d906ceb5d083c779f258
3
+ metadata.gz: 83d479b40eb389e90f5c12f52861fb33de57197c
4
+ data.tar.gz: 6cf1ea809bb68c18e17c8e5193f41669af7cc348
5
5
  SHA512:
6
- metadata.gz: f927435577cc2360c97f389f42164b4b8f903d722ab1e7873d5c09a64c617d573ecd974720f554c006c7d2a7ecfe57716f122406829781ff54f2a9c5436a0846
7
- data.tar.gz: ad8a64e3c5868cdaf7c7b46039a941befcb8d6dc2e9a98977176299e109d4cf64d67489a0a54692f10687c80c6523ad7ddebe28e016057031aeb292b902c1eaf
6
+ metadata.gz: d31e2783e7bb54c8ebb5429dfa5c1c4c6a4bbdda4f7ae20663dde2830f7c7f5622066b79d13f2da28e4c27108c005e61853e40e038692bc730f0ab1402c7ed1f
7
+ data.tar.gz: 2c21acf5b5ac814bf6339029e2fa9de6c9338f67b4d0f9280046ef7b942926e7cdc7bf4634a5a7063c287c498cddf7cb8f6807104be481f0e66cb0abaf0442e3
data/lib/Builder.rb CHANGED
@@ -14,6 +14,6 @@ class Builder
14
14
  File.open(File.join(base_output_path, 'strains.json'), 'w') { |f| f.write raw_reader.strains.to_a.to_json }
15
15
  File.open(File.join(base_output_path, 'professions.json'), 'w') { |f| f.write raw_reader.professions.to_a.to_json }
16
16
  File.open(File.join(base_output_path, 'skill_cat.json'), 'w') { |f| f.write raw_reader.skill_cat.to_json }
17
- File.open(File.join(base_output_path, 'skill_list.json'), 'w') { |f| f.write raw_reader.skill_list.keys.to_json }
17
+ File.open(File.join(base_output_path, 'skill_list.json'), 'w') { |f| f.write raw_reader.skill_list.to_json }
18
18
  end
19
19
  end
data/lib/RawReader.rb CHANGED
@@ -138,7 +138,9 @@ private
138
138
  end
139
139
 
140
140
  def process_list_skills line:
141
- @skill_list[line.strip.to_sym] = true
141
+ skill_code = line[0..1]
142
+ skill_name = line[3..-1].strip.to_sym
143
+ @skill_list[skill_name] = skill_code
142
144
  end
143
145
 
144
146
  def smart_insert strain: nil, skills: nil, open_skills: nil, profession_skills: nil
data/lib/input/input.txt CHANGED
@@ -666,202 +666,202 @@ Repair 3
666
666
  SCIENCE! 6 Educated
667
667
 
668
668
  == Skill List ==
669
- Alert
670
- Analyze Compound
671
- Analyze Creature
672
- Animal Handler
673
- Attach
674
- Avoid
675
- Backstab
676
- Balance
677
- Bartender's Tongue
678
- Barricade
679
- Beg For Life
680
- Big Dig
681
- Black Market Connections
682
- Bless Weapon
683
- Blind Fighting
684
- Blinding
685
- Bolt Action
686
- Bomb Awareness
687
- Bounce
688
- Bow
689
- Brawling
690
- Break Armor
691
- Break Shield
692
- Break Weapon
693
- Brew Master
694
- Brewing
695
- Building Tomorrow
696
- Call The Almighty
697
- Carry
698
- Challenge
699
- Charge
700
- Charisma
701
- Chase
702
- Cheat
703
- Check Quality
704
- Check Status
705
- Check Value
706
- Check Your Sleeves
707
- Choking Blow
708
- Chop
709
- Concentrated Fire
710
- Cover of Night
711
- Crop Tending
712
- Cure Toxins
713
- Deep Pockets
714
- Destroy Armor
715
- Destroy Shield
716
- Destroy Weapon
717
- Disarming Blow
718
- Disarming Shot
719
- Disguise
720
- Disguise Contents
721
- Double-Tap
722
- Educated
723
- Entertain
724
- Escape
725
- Escape Bonds
726
- Fade In A Crowd
727
- Faith Healing
728
- Fearful Glare
729
- Feign Death
730
- First Aide
731
- Fishing
732
- Fix Limb
733
- Florentine
734
- Force Barricade
735
- Forging the Future
736
- Frightening Force
737
- Guild Membership
738
- Gun Aficionado
739
- Head Shrink
740
- Healthy Feast
741
- Holy Rites
742
- Hunter's Mark
743
- Improved Armor/Shield
744
- Improved Pistol/Bow
745
- Improved Weapon
746
- Income
747
- Instruct
748
- Interfere
749
- Interrogate
750
- Iron Fists
751
- Knock Down
752
- Knockout
753
- Lie
754
- Literacy
755
- Lore
756
- Lore - Local Area
757
- Lore - Animals - Aquatic
758
- Lore - Animals - Aviary
759
- Lore - Animals - Mutated
760
- Lore - Animals - Subterranean
761
- Lore - Animals - Terra Firma
762
- Lore - Faith - Church of Darwin
763
- Lore - Faith - Cult of Fallow Hopes
764
- Lore - Faith - Final Knight
765
- Lore - Faith - Light of Hedon
766
- Lore - Faith - Minor Cults and Sects
767
- Lore - Faith - Nuclear Family
768
- Lore - Faith - Sainthood of Ashes
769
- Lore - Faith - Telling Visions
770
- Lore - Faith - Tribes of the Seasons
771
- Lore - Grave Mind
772
- Lore - History - Cinema and Entertainment Television
773
- Lore - History - Fictional Literature
774
- Lore - History - Music
775
- Lore - Medical - Diseases and Plagues
776
- Lore - Medical - Grave Mind Infection
777
- Lore - Medical - Grave Robber Processes
778
- Lore - Metallurgy
779
- Lore - Mining
780
- Lore - Mon Histories
781
- Lore - Nature - Herbs
782
- Lore - Nature - Minerals and Refined Materials
783
- Lore - Pre-Fall History Ancient
784
- Lore - Pre-Fall History Cultural
785
- Lore - Pre-Fall History Modern
786
- Lore - Pre-Fall History Religion
787
- Lore - Meditation
788
- Lore - Raider
789
- Lore - Slaver Communities
790
- Lore - Strain - Nation of Accensor
791
- Lore - Strain - Baywalker
792
- Lore - Strain - Diesel Jock
793
- Lore - Strain - Full Dead
794
- Lore - Strain - Genjian
795
- Lore - Strain - Iron Slave
796
- Lore - Strain - Lascarian
797
- Lore - Strain - Merican
798
- Lore - Strain - Natural One
799
- Lore - Strain - Pure Blood
800
- Lore - Strain - Reclaimers
801
- Lore - Strain - Red Star
802
- Lore - Strain - Remnant
803
- Lore - Strain - Retrograde
804
- Lore - Strain - Rover
805
- Lore - Strain - Salt Wise
806
- Lore - Strain - Solestros
807
- Lore - Strain - Unborn of Teixiptla
808
- Lore - Strain - Vegasians
809
- Lore - Strain - Yorker
810
- Lore - Tech - Combustion Power
811
- Lore - Tech - Natural Power
812
- Lore - Tech - Nuclear Power
813
- Lore - Zombie
814
- Lore - Techno Savant - Complex Electronics
815
- Lore - Techno Savant - Doomsday Device
816
- Lore - Techno Savant - Tesla Electronics
817
- Lore - Techno Savant - Esoteric Cultural Anomalies
818
- Lore - Medicine - Biological Warfare
819
- Lore - Tech - Structural Anomalies
820
- Lore - Tech - Gizmos
821
- Mangle Limb
822
- Master Craftsman
823
- Medical Assistance
824
- Medical Genius
825
- Melee Weapon Expert
826
- Melee Weapon - Large
827
- Melee Weapon - Small
828
- Melee Weapon - Standard
829
- Melee Weapon - Two Handed
830
- Mind Resistance
831
- Murder Most Foul
832
- Nail
833
- Nerve Punch
834
- Parry
835
- Patch Job
836
- Pick Pockets
837
- Pistol Whip
838
- Prepare Meal
839
- Pray for Justice
840
- Psionic Skill - Basic
841
- Psionic Skill - Intermediate
842
- Psionic Skill - Advanced
843
- Refuse
844
- Repair
845
- Rescue
846
- Sailing
847
- Scatter Shot
848
- SCIENCE!
849
- Scrounge
850
- Sever
851
- Shield
852
- Smelt
853
- Sniped Shot
854
- Society Membership
855
- Take Down
856
- Teach
857
- Throwing
858
- Throwing - Javelins
859
- Tie Binds
860
- Torture
861
- Trade Ties
862
- Transcribe
863
- Trap Making
864
- Unlock
865
- Vanish
866
- Weld
867
- Wide Strike
669
+ AA Alert
670
+ AB Analyze Compound
671
+ AC Analyze Creature
672
+ AD Animal Handler
673
+ AE Attach
674
+ AF Avoid
675
+ AG Backstab
676
+ AH Balance
677
+ AI Bartender's Tongue
678
+ AJ Barricade
679
+ AK Beg For Life
680
+ AL Big Dig
681
+ AM Black Market Connections
682
+ AN Bless Weapon
683
+ AO Blind Fighting
684
+ AP Blinding
685
+ AQ Bolt Action
686
+ AR Bomb Awareness
687
+ AS Bounce
688
+ AT Bow
689
+ AU Brawling
690
+ AV Break Armor
691
+ AW Break Shield
692
+ AX Break Weapon
693
+ AY Brew Master
694
+ AZ Brewing
695
+ BA Building Tomorrow
696
+ BB Call The Almighty
697
+ BC Carry
698
+ BD Challenge
699
+ BE Charge
700
+ BF Charisma
701
+ BG Chase
702
+ BH Cheat
703
+ BI Check Quality
704
+ BJ Check Status
705
+ BK Check Value
706
+ BL Check Your Sleeves
707
+ BM Choking Blow
708
+ BN Chop
709
+ BO Concentrated Fire
710
+ BP Cover of Night
711
+ BQ Crop Tending
712
+ BR Cure Toxins
713
+ BS Deep Pockets
714
+ BT Destroy Armor
715
+ BU Destroy Shield
716
+ BV Destroy Weapon
717
+ BW Disarming Blow
718
+ BX Disarming Shot
719
+ BY Disguise
720
+ BZ Disguise Contents
721
+ CA Double-Tap
722
+ CB Educated
723
+ CC Entertain
724
+ CD Escape
725
+ CE Escape Bonds
726
+ CF Fade In A Crowd
727
+ CG Faith Healing
728
+ CH Fearful Glare
729
+ CI Feign Death
730
+ CJ First Aide
731
+ CK Fishing
732
+ CL Fix Limb
733
+ CM Florentine
734
+ CN Force Barricade
735
+ CO Forging the Future
736
+ CP Frightening Force
737
+ CQ Guild Membership
738
+ CR Gun Aficionado
739
+ CS Head Shrink
740
+ CT Healthy Feast
741
+ CU Holy Rites
742
+ CV Hunter's Mark
743
+ CW Improved Armor/Shield
744
+ CX Improved Pistol/Bow
745
+ CY Improved Weapon
746
+ CZ Income
747
+ DA Instruct
748
+ DB Interfere
749
+ DC Interrogate
750
+ DD Iron Fists
751
+ DE Knock Down
752
+ DF Knockout
753
+ DG Lie
754
+ DH Literacy
755
+ DI Lore
756
+ DJ Lore - Local Area
757
+ DK Lore - Animals - Aquatic
758
+ DL Lore - Animals - Aviary
759
+ DM Lore - Animals - Mutated
760
+ DN Lore - Animals - Subterranean
761
+ DO Lore - Animals - Terra Firma
762
+ DP Lore - Faith - Church of Darwin
763
+ DQ Lore - Faith - Cult of Fallow Hopes
764
+ DR Lore - Faith - Final Knight
765
+ DS Lore - Faith - Light of Hedon
766
+ DT Lore - Faith - Minor Cults and Sects
767
+ DU Lore - Faith - Nuclear Family
768
+ DV Lore - Faith - Sainthood of Ashes
769
+ DW Lore - Faith - Telling Visions
770
+ DX Lore - Faith - Tribes of the Seasons
771
+ DY Lore - Grave Mind
772
+ DZ Lore - History - Cinema and Entertainment Television
773
+ EA Lore - History - Fictional Literature
774
+ EB Lore - History - Music
775
+ EC Lore - Medical - Diseases and Plagues
776
+ ED Lore - Medical - Grave Mind Infection
777
+ EE Lore - Medical - Grave Robber Processes
778
+ EF Lore - Metallurgy
779
+ EG Lore - Mining
780
+ EH Lore - Mon Histories
781
+ EI Lore - Nature - Herbs
782
+ EJ Lore - Nature - Minerals and Refined Materials
783
+ EK Lore - Pre-Fall History Ancient
784
+ EL Lore - Pre-Fall History Cultural
785
+ EM Lore - Pre-Fall History Modern
786
+ EN Lore - Pre-Fall History Religion
787
+ EO Lore - Meditation
788
+ EP Lore - Raider
789
+ EQ Lore - Slaver Communities
790
+ ER Lore - Strain - Nation of Accensor
791
+ ES Lore - Strain - Baywalker
792
+ ET Lore - Strain - Diesel Jock
793
+ EU Lore - Strain - Full Dead
794
+ EV Lore - Strain - Genjian
795
+ EW Lore - Strain - Iron Slave
796
+ EX Lore - Strain - Lascarian
797
+ EY Lore - Strain - Merican
798
+ EZ Lore - Strain - Natural One
799
+ FA Lore - Strain - Pure Blood
800
+ FB Lore - Strain - Reclaimers
801
+ FC Lore - Strain - Red Star
802
+ FD Lore - Strain - Remnant
803
+ FE Lore - Strain - Retrograde
804
+ FF Lore - Strain - Rover
805
+ FG Lore - Strain - Salt Wise
806
+ FH Lore - Strain - Solestros
807
+ FI Lore - Strain - Unborn of Teixiptla
808
+ FJ Lore - Strain - Vegasians
809
+ FK Lore - Strain - Yorker
810
+ FL Lore - Tech - Combustion Power
811
+ FM Lore - Tech - Natural Power
812
+ FN Lore - Tech - Nuclear Power
813
+ FO Lore - Zombie
814
+ FP Lore - Techno Savant - Complex Electronics
815
+ FQ Lore - Techno Savant - Doomsday Device
816
+ FR Lore - Techno Savant - Tesla Electronics
817
+ FS Lore - Techno Savant - Esoteric Cultural Anomalies
818
+ FT Lore - Medicine - Biological Warfare
819
+ FU Lore - Tech - Structural Anomalies
820
+ FV Lore - Tech - Gizmos
821
+ FW Mangle Limb
822
+ FX Master Craftsman
823
+ FY Medical Assistance
824
+ FZ Medical Genius
825
+ GA Melee Weapon Expert
826
+ GB Melee Weapon - Large
827
+ GC Melee Weapon - Small
828
+ GD Melee Weapon - Standard
829
+ GE Melee Weapon - Two Handed
830
+ GF Mind Resistance
831
+ GG Murder Most Foul
832
+ GH Nail
833
+ GI Nerve Punch
834
+ GJ Parry
835
+ GK Patch Job
836
+ GL Pick Pockets
837
+ GM Pistol Whip
838
+ GN Prepare Meal
839
+ GO Pray for Justice
840
+ GP Psionic Skill - Basic
841
+ GQ Psionic Skill - Intermediate
842
+ GR Psionic Skill - Advanced
843
+ GS Refuse
844
+ GT Repair
845
+ GU Rescue
846
+ GV Sailing
847
+ GW Scatter Shot
848
+ GX SCIENCE!
849
+ GY Scrounge
850
+ GZ Sever
851
+ HA Shield
852
+ HB Smelt
853
+ HC Sniped Shot
854
+ HD Society Membership
855
+ HE Take Down
856
+ HF Teach
857
+ HG Throwing
858
+ HH Throwing - Javelins
859
+ HI Tie Binds
860
+ HJ Torture
861
+ HK Trade Ties
862
+ HL Transcribe
863
+ HM Trap Making
864
+ HN Unlock
865
+ HO Vanish
866
+ HP Weld
867
+ HQ Wide Strike
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drpedia_lite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gloria Budiman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-13 00:00:00.000000000 Z
11
+ date: 2016-11-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Extracts skills, strains, profession, and requirement trees into JSON
14
14
  email: wahyu.g@gmail.com